dqtu14636 2012-09-18 03:50
浏览 56
已采纳

将PHP项目转换为桌面应用程序[关闭]

I've been developing a metasearch engine for private torrent trackers for about a year and a half. It's written in PHP (some parts in OOP) and JS, simply because that's all I know.
Now I want to make a desktop version, a standalone cross platform application.

Basically, what the app does is:

  • Send login data to the tracker. (file_get_contents())
  • Receive the generated cookies. ($http_response_header)
  • Access the search URL using the generated cookies. (file_get_contents())
  • Parse the HTML response with regex. (preg_match())
  • Show results of all trackers.

Mainly works with remote sites.

The way the program works now, allows the user to add trackers to search without touching the main program code. They function as plug-ins. That's the regex part and the most important one. I will maintain both codes (PHP and desktop), so it is important to be able to implement regular expressions in the same way in both applications.

So, I need help on choosing the right language, to do the same I'm doing with PHP.

I leave the program page to help you better understand what it's about.
Official site
SourceForge

Sorry if this is a a silly question, but I need guidance.
Thanks in advance, azeós.

  • 写回答

2条回答 默认 最新

  • dtxb75622 2012-09-18 04:30
    关注

    This could be a good opportunity to learn some Java, but you might also consider a library that gives PHP access to a GUI framework like http://gtk.php.net/.

    There's a related question on SO that might also give you some ideas.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮