Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4249294
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:22:41+00:00 2026-05-21T04:22:41+00:00

I am finishing up a project in PHP with Yii and phing. Even though

  • 0

I am finishing up a project in PHP with Yii and phing. Even though Yii is the best web framework I’ve used to date, I prefer writing Python over PHP. So, I’ve been looking at web2py and have some questions:

  1. Does web2py provide Javascript form validation? Yii has http://www.yiiframework.com/extension/jformvalidate/
  2. Does web2py have a mongo db plugin? Something comparable to http://www.yiiframework.com/extension/yiimongodbsuite/
  3. Can you write console applications using web2py?
  4. Does web2py auto generate SQL from model classes, or can you generate model classes from a SQL schema? I prefer the latter.
  5. What deployment tools are available for Python web apps? Is there anything like phing? Yes, I’m aware I could use ant, Maven, or even phing, but I’d rather use something implemented in Python.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T04:22:42+00:00Added an answer on May 21, 2026 at 4:22 am

    Does web2py provide Javascript form validation?

    Out of the box web2py does server-side validation, client side js pre-validation of int, double and calendar popup for date/time/datetime. There are jQuery plugins to add more client-side validation. web2py is mostly serverside, not clientside.

    Does web2py have a mongo db plugin? Something comparable to …

    Web2py is written in Python and there is a python module to access mongodb. Web2py has a database abstraction layer that supports 10 relational databases and Google Big Tables. DLA support for couchdb and mondogo is in but only partial and experimental. Will be completed in the next couple of months.

    Can you write console applications using web2py?

    Web2py apps must run in the browser. You can build normal python console and gui apps that use any of the web2py modules, for example its template language and database abstraction layer.

    Does web2py auto generate SQL from model classes, or can you generate model classes from a SQL schema? I prefer the latter.

    It can partially do the latter for mysql and postgresql but only partially because its goal is the the opposite: have users write no SQL but use the database abstraction layer for creating tables. The DAL is not an ORM, models are not classes. Web2py has more field types than SQL provides (for example a type password, a type upload, etc.). They affect how the content of the field is handled in forms and they cannot be inferred from an SQL schema.

    What deployment tools are available for Python web apps? Is there anything like phing?

    web2py has a web based IDE with mercurial integration. You can also use any other development tool that works with Python. I do know phing so I do not know how they compare.

    You know… it would be easy to just try web2py. 🙂
    Good luck with Yii anyway. I am sure it is great too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm finishing up some of my first C# classes and even though the original
I am currently finishing a web page in php. Basically there is some data
I'm SOO close to finishing a pet project, this is the last part I
I'm just finishing a relatively big project in scala and will start another related
I am really close to finishing up on a project that I've been working
I need help finishing this statement. It is frustrating that two of the PHP
I am very close to finishing this project however I have a problem that
I'm finishing up a project I've been working on for a while, and am
Close to finishing up my first project entirely in R, but I am stuck.
I'm coming close to finishing a project for a client, they want glowing lamps

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.