send2vinnie / phpdesktop

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

PHPDesktop with Chromium (different solution, take a look please) #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I had create a version of PHPDesktop using Chromium (with the -app option, 
which give us a SSB mode of the Chromium Browser).

It's a different solution and it's not the way you are doing, but I ask you to 
take a look, if you have time. It's very nice solution and working.

Only bad thing is the size, 29.1 MB, because of the ChromiumPortable, that is 
installed in the PHPDesktop folder.

Download, extract and run Launcher.exe to take a look.

A possible solution too may be find the chrome.exe of the Chrome installation 
in the host computer, but it's not trust that the chrome will be always 
installed in the host computer, so I used the ChromiumPortable version.

You can download it from here:

http://www.mediafire.com/?fwjmm6vphrs3t2e

Original issue reported on code.google.com by guilherm...@gmail.com on 1 Mar 2013 at 9:37

GoogleCodeExporter commented 9 years ago
This would introduce licensing issues for sure, Google Chrome is not
fully open source in contrast to Google Chromium engine which is totally
opened and this is the engine I plan to embed in PHP Desktop.

Original comment by czarek.t...@gmail.com on 1 Mar 2013 at 9:46

GoogleCodeExporter commented 9 years ago
Sorry, I did not understand. You plan to embed Chromium or Chrome in PHP 
Desktop?

Original comment by guilherm...@gmail.com on 1 Mar 2013 at 9:54

GoogleCodeExporter commented 9 years ago
Google Chrome is licensed as freeware under Google Chrome terms of service:
http://www.google.com/chrome/intl/en/eula_text.html
I haven't read it fully, but it definitely has some restrictions that just
won't work for us.

I plan to embed Google Chromium by using Chromium Embedded Framework:
https://code.google.com/p/chromiumembedded/
I've already embedded it in another project called CEF Python:
https://code.google.com/p/cefpython/

Original comment by czarek.t...@gmail.com on 1 Mar 2013 at 9:56

GoogleCodeExporter commented 9 years ago
#2 guilhermesalencar

Chromium is a browser engine that Google Chrome is using:
http://www.chromium.org/

It's mostly the same, but Chromium does not include the User Interface found
in Google Chrome, the Google API keys and some other stuff like proprietary
H264 video codecs.

Original comment by czarek.t...@gmail.com on 1 Mar 2013 at 9:58

GoogleCodeExporter commented 9 years ago
Sorry Czarek, but the solution I have created use Chromium, and not use Chrome.

Original comment by guilherm...@gmail.com on 1 Mar 2013 at 9:58

GoogleCodeExporter commented 9 years ago
Have you downloaded? What did you think?

Original comment by guilherm...@gmail.com on 1 Mar 2013 at 10:00

GoogleCodeExporter commented 9 years ago
Ahh, okay, you stated it clearly, I assumed it must have been Google
Chrome, sorry for my mistake and the confustion.

Original comment by czarek.t...@gmail.com on 1 Mar 2013 at 10:01

GoogleCodeExporter commented 9 years ago
No problem. If we restrict some uses of the navigator (like Ctrl+U, F5) which 
can be done with Javascript, I believe, and exclude unnecessaries files in the 
chromium Folder to reduce the size, I believe that it will be a good solution.

If you use CEF, it will increase 14 Mb to the Project, if the project has 5 Mb, 
it will be 19 Mb. This solution has 29 Mb and works fine. Perhaps would be 
possible to reduce more deleting unnucessaries files of the chromium folder.

Take a look and tell me.

Original comment by guilherm...@gmail.com on 1 Mar 2013 at 10:05

GoogleCodeExporter commented 9 years ago
And the guys that develop apps using it should be able to use nice Navigator 
functions for a WebDesktop App, like CTRL+P of the Chromium. I don't know if is 
possible to do this using CEF, in the MSIE PHP Desktop I can't CTRL+P don't 
work.

Original comment by guilherm...@gmail.com on 1 Mar 2013 at 10:08

GoogleCodeExporter commented 9 years ago
Other good thing is that we can install addons in the chromium installation 
that add nice functionalities to the applications.

Original comment by guilherm...@gmail.com on 1 Mar 2013 at 10:28

GoogleCodeExporter commented 9 years ago
Guilherme,

It is very nice idea with the -app flag, I didn't know such feature existed,
very nice work done. Although I see some drawbacks of doing it this way, you
already mention the keyboard shortcuts, the "phpdesktop.exe" name is hardcoded
in the launcher, though it could be customized through a settings file. Either
way I plan on embedding CEF as it gives much better integration and 
possibilities
in the future, but your solution is a good alternative that users could take
advantage of while I'm working on the CEF solution. I encourage you to develop
it further, how about creating a separate project on Google Code for this? I do
not want to mix it with existing phpdesktop sources, as I already have much work
to do with the CEF integration, but if you want to play with this alternate
solution I totally support you, but it would be best to put it on a separate
project page, I will put a link to your project on phpdesktop main page under
the Google Chrome download section to promote it.

The Ctrl+p was disabled in the IE engine intentionally. The Ctrl+p does not
work in CEF from what I know, printing is not supported yet in CEF 3:
https://code.google.com/p/chromiumembedded/issues/detail?id=505

Original comment by czarek.t...@gmail.com on 1 Mar 2013 at 10:31

GoogleCodeExporter commented 9 years ago
By addons you mean Chrome Extensions? Yes, that would be a nice feature,
from what I know CEF does not support extensions and there aren't plans
to do so, so your chromium solution will have some unique feature that
CEF can't have.

Original comment by czarek.t...@gmail.com on 1 Mar 2013 at 10:38

GoogleCodeExporter commented 9 years ago
Thank you very much Czarek!!! I'll do what you recommended, and create a 
project for Google Code. Good work with CEF, I know it's much more hard to do 
than what I did.

Thank you. I didn't know that -app exists too some days ago. When I discover it 
was very excitant (hehe).

Good work! We wait for CEF integration, which will be very nice, clean and will 
have reduced size.

Bye.

Original comment by guilherm...@gmail.com on 1 Mar 2013 at 10:38

GoogleCodeExporter commented 9 years ago
I have created, here is the link: http://code.google.com/p/phpdesktop-chromium

Thank you!

Original comment by guilherm...@gmail.com on 2 Mar 2013 at 6:02

GoogleCodeExporter commented 9 years ago
Great work Guilherme, I've put a link to your project on the main page with 
a short explanation of what it does. I have only a small suggestion of making
an english page of your project, as it will attract more audience, or at least
put some english words at the top of your main page.

Original comment by czarek.t...@gmail.com on 2 Mar 2013 at 8:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Guilherme, Please fix the virus issue. In the meantime I'm removing the link to 
your project from main page as this is bad publicity for the PHP Desktop 
project, I will put a link back when it's fixed.

Original comment by czarek.t...@gmail.com on 7 Mar 2013 at 7:04

GoogleCodeExporter commented 9 years ago
Thank you for the advice Czarek. I will fix it as soon as possible. I have lot 
of work for my college project based on phpdesktop-chromium. A software to 
solve steel portal frames in the plastic method. Structural engineering things.

Can I add you as member of the project? this is simple to solve, but my 
internet connection is very slow and I don't have time right now to fix.

Tell me if you may (and want) enter in the phpdesktop-chromium as developer.

Original comment by guilherm...@gmail.com on 7 Mar 2013 at 10:58

GoogleCodeExporter commented 9 years ago
Please can you guide me how to Install PHPMyadmin or any database server to 
store data, so it can be easy to develop portal in PHP.

-Thanks in advance.

Original comment by gangesh...@whitelotuscorporation.com on 12 Mar 2013 at 11:13

GoogleCodeExporter commented 9 years ago
You should try this: https://code.google.com/p/phpliteadmin/

I will put this together in the next versions. Just install this on the www 
folder and execute by the browser: http://127.0.0.1:54007/phpsqliteadmin/

I didn't try yet, but I will soon. Good luck.

Original comment by guilherm...@gmail.com on 12 Mar 2013 at 2:08

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 21 Jul 2013 at 6:28