Re: Yet another comparison of Python Web Frameworks

2007-10-09 Thread mdipierro
Since you are starting a new project you may want to look into something new and different http://mdp.cti.depaul.edu/examples -- http://mail.python.org/mailman/listinfo/python-list

Gluon 1.15 is out

2007-12-25 Thread mdipierro
Hello everybody, Gluon 1.15 is out. This is a free open source framework for agile development of secure database driven web applications, written in Python, programmable in Python. Stable API and supported since October 1st 2007. http://mdp.cti.depaul.edu http://www.vimeo.com/428474 (video tutor

Re: New Web2Py framework SLASHES development time...

2008-09-23 Thread mdipierro
Hi Paul, yes, the model designer is the one from Ondras. We modified it so that it generates DAL (Database Abstraction Layer) code instead of SQL and it is a work in progress. Technically it is not pat of web2py and in fact it is not distributed with it. It is just one of the many web2py apps. You

Re: How decoupled are the Python frameworks?

2009-12-09 Thread mdipierro
Interesting post. I would like to make some comments about design decisions that went into web2py: - For each app Model/View/Controllers/Language Files/Static Files/ Modules/Cron Tasks are stored in separated folders - You can code only the models (no controllers and no view) and you get a fully f

Re: Anybody use web2py?

2009-12-19 Thread mdipierro
On Dec 19, 12:42 am, AppRe Godeck wrote: > Just curious if anybody prefers web2py over django, and visa versa. I > know it's been discussed on a flame war level a lot. I am looking for a > more intellectual reasoning behind using one or the other. Of course I am the most biased person in the worl

Re: Anybody use web2py?

2009-12-19 Thread mdipierro
Errata. I said "The dal supports transactions" where I meant "the dal supports migrations". Of course it also supports "transactions" as well as "distributed transactions". On Dec 19, 5:32 pm, mdipierro wrote: > On Dec 19, 12:42 am, AppRe Godeck w

Re: Anybody use web2py?

2009-12-19 Thread mdipierro
web2py. They can be distributed under any license you like, included closed source and bundled with the web2py binary. On Dec 19, 5:32 pm, mdipierro wrote: > On Dec 19, 12:42 am, AppRe Godeck wrote: > > > Just curious if anybody prefers web2py over django, and visa versa. I > > k

Re: Anybody use web2py?

2009-12-19 Thread mdipierro
> Why does web2py have classes that represent HTML? I can't see ever > needing to write VIEW code in my controller, since thats what views are > for. You do not need to use but if, for example, you want to build a menu recursively, having a server-side presentation of the DOM allows to do it witho

Re: Moving from PHP to Python. Is it Possible

2009-12-19 Thread mdipierro
About you point 3). You may want to look into: http://www.web2py.com/php It translates a PHP page into a web2py template. It is crude and primitive and fails in some cases. Moreover a literal translation is not what you really want since you want to follow a more MVC design. Moreover it will not

Re: Anybody use web2py?

2009-12-20 Thread mdipierro
multiple database connection to postgresq, mysql and/or firebird. I think this is related to the topic because it is a distinctive feature of web2py. Massimo On Dec 20, 1:32 pm, Lacrima wrote: > On Dec 20, 1:35 am, mdipierro wrote: > > > Errata. I said "The dal supports transactions&qu

Re: Anybody use web2py?

2009-12-20 Thread mdipierro
People seem to think that because web2py has a default for almost everything (part of its design) than you must use the default. - There is a web based IDE but you *can* use the shell instead (like you do in Django) - There are migrations but you *can* disable then (and it works like Django that d

Re: Anybody use web2py?

2009-12-21 Thread mdipierro
> > On Dec 19, 12:42 am, AppRe Godeck wrote: > >> Just curious if anybody prefers web2py over django, and visa versa. I > >> know it's been discussed on a flame war level a lot. I am looking for a > >> more intellectual reasoning behind using one or the other. > > > Of course I am the most biased

Re: Please Help Publicize PyCon

2009-12-21 Thread mdipierro
There is huge difference between what Steve is asking and spam. Spam is "Unsolicited e-mail, often of a commercial nature, sent indiscriminately to multiple mailing lists, individuals, or newsgroups". Steve is asking us help him to identify communities that we may be part of and that we believe m

Re: Anybody use web2py?

2009-12-22 Thread mdipierro
Some may find useful to compare: - A Crash Course on Django http://articles.sitepoint.com/article/django-crash-course - A Crash Course on Web2py http://www.web2py.com/AlterEgo/default/show/253 They basically describe the same app and the steps to built it. Sorry I had not time to make screenshot

Re: Recommendation for small, fast, Python based web server

2009-12-25 Thread mdipierro
This is a new wsgi web server implemented in a single file. http://code.google.com/p/web2py/source/browse/gluon/sneaky.py I could use some help with testing. Here is a version for Python 3.0 http://code.google.com/p/web2py/source/browse/gluon/sneaky.py Massimo On Dec 25, 12:38 pm, a...@pytho

Re: What is the best data structure for a very simple spreadsheet?

2010-01-03 Thread mdipierro
Perhaps this can be useful: http://www.web2py.com/examples/spreadsheet The code is in a single file with not dependencies and it does not require web2py to run: http://code.google.com/p/web2py/source/browse/gluon/contrib/spreadsheet.py Here is a sample controller that shows you how to embed the s

Re: python xmlrpc client with ssl client certificates and standard modules

2010-01-04 Thread mdipierro
xmlrpc acts at the application layer and ssl at the transport layer so they can inter operate easily as long as you do not use the certificate to authenticate the client but only validate the server and encrypt data (which you can also do but it is more complicated) One option for you is to use we

Re: python xmlrpc client with ssl client certificates and standard modules

2010-01-04 Thread mdipierro
l be reading a little into web2py. > > bye > > N > > mdipierro wrote: > > xmlrpc acts at the application layer and ssl at the transport layer so > > they can inter operate easily as long as you do not use the > > certificate to authenticate the client but only valida

Re: Frameworks

2009-10-20 Thread mdipierro
On Oct 19, 9:01 am, flebber wrote: > In short it seems to me that Django and Web2py include more "magic" in > assisting oneself to create you web/application, whilst Pylons and > Werkzueg leave more control in the users hands hopefully leading to > greater expression and power. it depends on how

Re: Frameworks

2009-10-20 Thread mdipierro
One more clarification to avoid confusion. Django has "admin" and it is great. Web2py also has something called "admin" but that is not apples to apples. The closest thing to Django "admin" in web2py is called "appadmin" (it comes with it). For example consider the following complete program:

Re: taking python enterprise level?...

2010-02-26 Thread mdipierro
100,000 hits a day is not a low. I get that some day on my web server without problem and without one request dropped. Most frameworks web2py, Django, Pylons can handle that kind of load since Python is not the bottle neck. You have to follow some tricks: 1) have the web server serve static pages

Re: taking python enterprise level?...

2010-03-01 Thread mdipierro
On Mar 1, 6:32 am, simn_stv wrote: ... > > > You have to follow some tricks: > > > 1) have the web server serve static pages directly and set the pragma > > cache expire to one month > > 2) cache all pages that do not have forms for at least few minutes > > 3) avoid database joins > > but this wou