On 3/27/13 12:07 AM, Camil Ghircoias wrote:
> I’m a vfp developer now working with postgresql as a main database.

Welcome!

> I’m looking to move my apps (accounting, sales,salary software mainly)  into 
> web.

Ok; Dabo's a cross-platform desktop application framework, not a web framework.

> For the client part I was looking for some web platforms like sencha-ext js 
> for web forms (looks nice, like desktop)

IMO trying to get the desktop onto the web is shooting yourself in the foot. 
But I'll
leave it at that. :)

> , but on the server side I didn’t found anything good enough. I’d like a 
> scripting language and python looks a good one, 

Yes, Python is a great scripting language with lots of libraries built-in and
available from third-parties to solve almost every class of problem. There are 
very
popular web frameworks like Django, libraries to run your Python from Apache or 
other
webservers (wsgi), libraries to give your Django or other web application a 
REST web
service api (tastypie), and plus you can just run Python scripts on the server 
via
cron jobs, etc.

> but need more for database and local cursors support. 

Here's the thing. You are coming from VFP and are thus used to holding a local 
cursor
open, maybe for the entire time the app is running. How are you going to 
achieve that
over the web? If you need statefulness, you are basically forced to choose 
between:

1) Set up an application server to maintain state for x number of cursors for y
number of instances for z number of users. And this server will need to figure 
out
when it can safely kill its state because the user has logged off or been 
inactive
for a while.

2) Maintain state on the client side, which is problematic due to security
restrictions in the browser/os.

The world is definitely moving to a web paradigm but you really have to embrace 
it
100% and not try to jack it up by introducing needless statefulness into it.

I think business applications of a certain complexity still belong 
predominantly on
the desktop, not the web. For the type of application where a user logs in and 
does
data entry and reporting all day, that belongs on the desktop for speed, 
stability,
and security.


> And reports of course.

Dabo's reports are xml and are easily designed in the desktop ReportDesigner. 
The
runtime reportwriter doesn't need to be on the desktop, and outputs PDF to a 
file or
stream. Thus you could put this on your webserver, run it from a script, etc.


> Not sure if dabo class can be used as a scripting language on the server side 
> to prepare data for the client in json formats or xml for the client.

I could see this working, but I've never done it. Apache/mod_wsgi -> your dabo 
bizobj
-> wrapped in tastypie -> output json or xml

> And the most important,  can I design reports into dabo and render them on 
> server side into pdf using dabo so the resulting pdf  could be send to client 
> ?

Yes. You'd need to design the reports using the desktop ReportDesigner however, 
if
you don't want to craft them by hand using Python or XML.

>>From what I found on dabo side it is designed mainly for desktop apps not as 
>>a web scripting service

Correct.

Again, welcome.
Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to