?
Solved

Could you give your impressions about PKP-GTK?

Posted on 2014-01-02
9
Medium Priority
?
365 Views
Last Modified: 2014-11-12
Hi Experts

I'm planning to convert some for Windows applications forms from a platform that was discontinued (the converted app will remains for Windows).  PHP-GTK seems to be a good choice in that objective since I'm using PHP for internet development and could reuse the same code.

Could you give your impressions about PKP-GTK?
(Just one concern, it's not released since 2008)

Any other framework to do the job using PHP?

Thanks in advance.
0
Comment
Question by:Eduardo Fuerte
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39752266
Your concern appears to be valid.  I looked at GTK for developing desktop apps several years ago, and found very little adoption of the technology.
http://en.wikipedia.org/wiki/PHP-GTK

Also, I know nothing about this, but it might be worth investigating:
http://en.wikipedia.org/wiki/WxPHP

If you can tell us a little more about the nature of the apps you're redeveloping we may be able to suggest some alternatives.
0
 

Author Comment

by:Eduardo Fuerte
ID: 39752283
Hello Ray!

Good to interact with you again.

I was planning to convert Visual FoxPro apps to PHP desktop app.

But after reflect, maybe the solution is to install Apache/ PHP/ MySQL locally and use it like  a desktop app, actualizing local and remote DB(s) -just in case of internet fails, with a syncronization mechanism to make de DB(s) consistente one with other - if needed, something already done with VFP app(s).

Maybe that's the reason PHP desktop frameworks was so low adopted.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39754119
You might want to consider a cloud application using Rackspace or AWS.  There are a lot of benefits of professional hosting (mostly that you do not have to do all of it yourself) and they are very inexpensive.

You certainly can install your own server instance and run it on a desktop computer (I use MAMP when I'm teaching).  It's a workable solution, but you have to make allowances for backup, data sharing, etc.  If you don't need 100% concurrency of data, you can just make periodic updates to the central data base.

With regard to internet failures, I can tell you that in my part of the world, my scripts are about 1,000,000 X more likely to fail!  Internet service is pretty reliable here, even in a blizzard.  So I would be inclined to build this as a web app rather than a desktop app.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:Eduardo Fuerte
ID: 39755933
In my region we have a very reliable internet service too, in my case even out of the cloud - by option.

The scenario is a little more complex:

I can't expect people using the app(s) I'm distributing and would like to convert have internet connection at every work station or  in some cases mandatorily have internet connections since I intend to assist people without to much resources.

Since I'm using PHP to internet jobs I initially tought about PHP-GTK to optimize efforts and then, after realize it's a discontinued and not very adopted  technology tought if maybe a locally install PHP/ Apache/ MySQL could be a reasonably solution, as posted.

Even the ideal conditions is founded.

The app(s) I'm focusing to convert are used in physical shop to sell books f.e.  and issue fiscal tickets to the buyers (when actualizing data tables too), is it common to do this by making the data go to the "cloud" and return to the local printer? I've personally didn't see it  in physical shops, anywhere. Filling the itens of a physical sell using internet is something I've never saw too, and I don't know how is it convenient and doable...

It's something amazing:  the time for do that compared with a local app doing the same is closer, isn't it?

(Sorry to be so wordy)
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 39756051
I can't expect people using the app(s)... to have internet
Understood.  It sounds from the description that what you plan to create is a "point of sale" (POS) system.  At its simplest, this is a hand-written receipt ledger, or a cash register, and it gradually grows in sophistication to support automatic checkout scanners, inventory control, and even supply-chain integration.  For the more sophisticated applications, the internet is required.  But for a stand-alone POS system, the internet would not be required.  In this case, the software would be a desktop or tablet application.  I don't think PHP is the best language for developing desktop or tablet apps.

This search might help find some better programming choices:
http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dstripbooks&field-keywords=Windows%20Store%20Apps%20with%20C%23
0
 

Author Comment

by:Eduardo Fuerte
ID: 39756368
It's not a matter of build the app(s) these exists and could be downloaded at my site
www.espiriplug.com.br - point of sale with inventory control and more are built - just to say about one of the apps.

And these are in production in some places. The issue is these were built in a discontinued language (Visual FoxPro) and maybe another language would be necessary to convert these app(s) hereafter - even it's a no urgent task.

Since I'm using PHP for net projects I tought maybe it could be in some manner  the convertion language (so I asked about PHP-GTK), optimizing efforts.

But after reading your last scrap PHP is not adequated  to do this job - so I need to search for another strategy - maybe Windows Forms (.net) is the more logic path that I'm avoiding since it could be a hard step.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39756563
Well, it would mean learning a new programming language, and there are always obstacles to overcome when you do that.  But as you say it's not an emergency.

You might post something in the ,NET Zone here and get some ASP opinions.
0
 

Author Closing Comment

by:Eduardo Fuerte
ID: 39757104
Ray

Good to count on your expertise another time!
Now I'm certain PHP is not the correct path in this specific job, anyway.
So I'm taking courage to go to .net Windows Forms strategy.

Thank you very much!
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39757447
Thanks for the points and thanks for using EE.  My follow-on suggestion would be to go over to the .NET Zone and post a question about best learning resources for .NET and Windows Forms (and any other keywords that might be helpful).  You'll find some very good answers, I promise!

Best regards, ~Ray
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question