Solved

Could you give your impressions about PKP-GTK?

Posted on 2014-01-02
9
359 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 110

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 110

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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

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 110

Accepted Solution

by:
Ray Paseur earned 500 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 110

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 110

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

726 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