
March 7th, 2004, 07:04 PM
|
|
|
|
Join Date: Apr 2007
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
PHP-HTML-Local apzz
If you like it post it on toher forums or take it into practice.
Dear Open Source Gurus
I''ve found PHP-HTML(CSS-JavaS) to be a really easy and powerfull enogth combination, specially to make aplications where the interfase changes acording to the contenet of a databese. Because of the Internet boom many developers are hadeling this tecnoligies which unfortunatly by now force you to have a web-server and a web-browser runig -if you dream of using then as for a local aplication.
My proporsal is to skip over the web-server and develop a browser that can run scripts directly threw the CGI. All the job is already done there is mozila and php CGI. At least PHP returns the hole html code to the DOS screan if I do phph.exe test.php so the only thing to do is change mozilla to run the comand and take the output and place it on the Gecko sistem. I'll doit my self if I kew how to, but my knolege is basicaly just for using PHP.
What for you may ask if there is allready perl-GTK, phyton-GTK, PHP-GTK and Java, C#...... . First of all when it comes to ""dinamicaly"" build an interfase HTML is much more simplier (maybe also more power full -just in this case-) than all the Clases and Objects that those options need. It also implies lerning more to achive the same, and many developers are not in conditions to do this so the result are not better programes but crapy aplications. This will allow all the Web developers use their knolege straigt foward and develop, for the sadly popular Windows, and Linux or any other OS where PHP and Mozilla (Gecko) can get. So to make local database driven aplicatios or any other kind of appz where the task are simple and Web interoperability is need, there sudenly be losts of developers ready to use OpenSuorce and PublicStandards Tecnologies. The implicatios of using this tecnologies not just imply crossing along OS easily but it will also make easir jump form progrmas on local machines to progrmas on a protected LAN or the WWW much more easier since the will use the same tacnologie and code. Also all the IDES for web development will aveibable for local development with out any change.
Since there are all redy progrmas like Word, Excel, MathLab, Autocad,....... most of local development from indepent developers like me are focused in task where the job is recive data from fields and mage it, no complex event hadeling is necesary, most of times Internet counter parts are needed to see the whole company stats or balblalbal...... insted it may be necesary to add a product and then alter all the screens where products apear. If this is done threw a cicle reading for example form an XML the cicle just has a <input <?-echo blablabla---?>> on PHP GTK you must instancite an objetc check "last" instance of the same class position and calculate the Y and X positiong some whay and finally draw the thing (besides there's no nice IDE to do it grapicaly and the just alter a bit the code to "automatizate the thing").
I hope I´ve been reasonable enought to convice you to make the very few changes requered to PHP(encoders suck as turck may keep code and passswords safe) and Gecko. I also know it's posible to use IE and ActiveX but this will tie the thing to IE tecnology.
|