irwansyahagam / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

PHP Desktop X Chrome - an implementation of phpdesktop for Mac/Linux using Python and CEF Python #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently PHP Desktop Chrome is implemented in C/C++ and porting it to 
Mac/Linux would require significant amount of time. Recently CEF Python added 
support for Mac. It would be easy to port PHP Desktop to Linux and Mac 
platforms using Python language and the CEF Python framework 
(https://code.google.com/p/cefpython/). Using CEF Python would simplify things 
and unload lots of work, but there are still things that would need to be done:

 * Port all options from settings.json
 * Expose Mongoose web server API to Python with the use of Cython (http://cython.org/). The mongoose.c file be compiled to a mongoose.so Python module and its API would be callable from Python
 * Build executable for distribution. For Mac, py2app probably would be the best option. For Linux maybe Freeze? Or bbfreeze? In the past I didn't have good experiences with PyInstaller so I discourage using it. For a list of distribution utilities see:
   - https://wiki.python.org/moin/DistributionUtilities
   - there is also Nuitka: http://nuitka.net/

The advantage of using Python/CEFPython is that porting to Mac/Linux would take 
about a week, instead of several weeks. The drawback is that the executables 
size will be significantly larger, as it would require shipping Python 
interpreter and the wxPython library.

Original issue reported on code.google.com by czarek.t...@gmail.com on 1 Feb 2015 at 3:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 4 Feb 2015 at 3:38