can python make web applications?

D

Deep_Feelings

can python make powerfull database web applications that can replace
desktop database applications? e.g: entrprise accounting
programs,enterprise human resource management programs ...etc
 
K

koranthala

can python make powerfull database web applications that can replace
desktop database applications? e.g: entrprise accounting
programs,enterprise human resource management programs ...etc

Very much so.
The web frameworks, Django & TurboGears are quite powerful and can be
used to do what you just now mentioned.
Check out Django - esp if the application is database centric. It has
very good documentation and a free online book - djangobook.
 
S

Stefaan Himpe

Deep_Feelings said:
can python make powerfull database web applications that can replace
desktop database applications? e.g: entrprise accounting
programs,enterprise human resource management programs ...etc

In addition to the recommendations by other people, I'd like to
recommend the very easy to learn and use web2py. (www.web2py.com).
 
L

lkcl

can python make powerfull database web applications that can replace
desktop database applications? e.g: entrprise accounting
programs,enterprise human resource management programs ...etc

with pyjamas, as mark mentioned previously - but what mark perhaps
wasn't aware of is that with pyjamas-desktop you can have _both_.

you can have the _exact_ same python application _either_ be compiled
to javascript, and be a web application, _or_ you can run it under
pyjamas-desktop, as pure python.

so you can have a pyjamas app do _both_ jobs.

for some examples that look like the kinds of things that you would
expect, see:

http://pyjs.org/examples/timesheet/output/TimeSheet.html
http://pyjs.org/examples/employeeadmin/output/EmployeeAdmin.html

both of these use http://puremvc.org (python version, not javascript
version). both of them work under pyjd.

l.
 
L

lkcl

I get this error dialogue message when visiting the above page:

"TimeSheet undefined list assignment index out of range"

Along with the following in-page error, once the data has been
imported:

"JavaScript Error: uncaught exception: list assignment index out of
range at line number 0. Please inform webmaster."

It looks quite nice, though.

Paul

DOH! someone assuming javascript-isms in lists, and the compiler's
been improved to ban them :)

...
self.date = None
...
...

print 'setEntries:', entries
try:
#tt = time.localtime(time.time())
- tt = []
- tt[0] = int(self.date[:4])
- tt[1] = int(self.date[4:6])
- tt[2] = int(self.date[6:8])
+ tt = [0] * 9
+ if self.date:
+ tt[0] = int(self.date[:4])
+ tt[1] = int(self.date[4:6])
+ tt[2] = int(self.date[6:8])
tt[3] = 0
tt[4] = 0
tt[5] = 0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top