[Lazarus] Lazarus make me create better apps

Michael Van Canneyt michael at freepascal.org
Fri May 14 08:39:31 CEST 2010



On Thu, 13 May 2010, Marcos Douglas wrote:

> On Thu, May 13, 2010 at 5:04 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>>
>> We are using it to give parents access to the information that schools
>> have on their children. Schools have a client/server app, and the web
>> front-end is used to display the information in the database.
>>
>> We'll be extending the web-interface to allow teachers to enter information
>> in the same database as well. (grades, absentees, remarks on behaviour etc.)
>>
>> All this happens with FPC on the server (fcl-web and sqldb), and ExtJS for
>> the client in the browser.
>
> FPC + ExtJS
> This is the configuration I want to do. In the ExtPascal list, there
> are some people using the same approach.

I know, but I stopped using ExtPascal. I don't believe in it's approach
any more, one still has to know JavaScript in order to write decent client 
apps.

> But I continue with doubts about how to use separate *.js files. How
> you do that? Do you open *.js files in app, replace some tags/macros
> and sends to client?

Till now, there has been no need to do that. The .js files don't need
tags/macros. All configuration values are fetched from the FPC server
using Ext.Direct (I created some FPC components to handle Ext.Direct
requests, they will be donated to FPC).

If I would need macros/tags, I would simply use fpTemplate, it was 
designed for that.

Michael.




More information about the Lazarus mailing list