Hi all, I saw a lot of talking about developing for the web on the forum lately, but no new code. But as I read the last messages ok, there are some people working on this.
Extpascal is nice, but Ext JS is dual-licensed, which is a problem for some people. And it's fcgi-only. (I saw something about a cgi-connection or something?) And it's not that hard, in fact it's easy. The difficult part is to write an javascript-framework, but when it's already there.. building an interface is easily done. Especially if the fcl-web is used as the basic building blocks. Then apache-modules, cgi and fastcgi are supported out-of-the-box. So I've made a simple proof-of-concept. I didn't think the design through, a lot can be changed. It's not only nound to jQuery, it should be possible to use other javascript-frameworks. First version used Qooxdoo, but I didn't really liked it... I created a new jQueryLaz package, it only contains a grid-component, using the jGrid plugin for jQuery. Attached is the source with an example. Install the package and compile the example. (Change the parameters so it fits to your database) Place the resulting executable on a web-server and configure it so it's recognized as an cgi-application. You also have to download jQuery and jGrid and place those files in the same directory as the cgi-appliation. It's pretty simple but easy to extend. I hope there will grow something out of it. for those who want to know how it looks like: http://menora.cnoc.nl/extern/jquery/fpcjquery.psp Joost. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
