Category Archives: Programming
Using SQLFORM
I’m still working through learning how to use SQLFORM. Here’s the basic code in a controller method: form = SQLFORM(db.contest) if form.accepts(request.vars, session): response.flash = “Form submitted” return dict(form=form) This creates a form that has an input field for every … Continue reading
Web2py and Forms
I’m not a big fan of user interfaces that exist primarily to create and update database tables. I think it’s because I came to programming long before I learned anything about databases. In my mind, a database is a back … Continue reading
Learning Curve
Like any framework, Web2py has a learning curve. I’m not talking about the time it takes to master the framework, but the time it takes to start making progress on what you really want to do, which is develop the … Continue reading
Where To Start?
When you first start Web2py, you’re presented with a basic site that gives you access to administrative functions of the framework. There’s an excellent wizard that will generate a lot of the boilerplate of an application for you, especially an … Continue reading
General Approach
Okay, with Web2py and GAE, there are a couple main ways to do development. One is to develop using strictly Web2py, and test your application on GAE. The other is to download the GAE local server, and develop on GAE … Continue reading
Why Web2py?
I’m interested in running a site on Google App Engine (GAE), so I set out to find a framework that would work well there without much tweaking. I took a brief look at Django, but found that the most current … Continue reading
Web2py Experiments
Okay, right off the bat I’d like to get the religious arguments out of the way. Yes, I understand the objections that many people have to Web2py on the basis of what I’ll call “Python purity”. Those objections are valid … Continue reading