Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for a Python web framework which will allow me to rapidly build a CRUD application with automatic AJAX support.
The framework should be able to generate a nice table which is sortable and filterable, which works via AJAX and without JS support at all as well.
I have looked at TurboGears2 and it seems promising, is there any other framework that can do the job for me?
Most of the modern frameworks, like TG, Django or Flask support CRUD-style applications. But none of those are that much abstract, that you can give them a model, and there you have your ajaxy db manipulation templates and validations.
Django has django-admin and a great form builder and helper module; Flask can work with WTForms easily. Javascript is just as usable with any of the above frameworks, so that with a little recherche in the jQuery plugin area, you might be able to quickly build your application.
You might check out web2py. Very easy CRUD, and great Ajax support (see also, web2py components). web2py's plugin_wiki also includes widgets for CRUD and jqGrid.
There's also a new grid plugin under development called powerTable, which is a web2py wrapper for the jQuery DataTables plugin.
If you have questions, the web2py community will be happy to help you out.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to test web applications that were developed using Django framework and Tastypie.
My plan was to test the REST API calls of the web apps against the queries they perform on the MySql DB. In order to do so I've investigated a little bit about DB access framework, and have encountered SQLalchemy framework, and the reflection attitude.
My thought were to try and access the Web Apps REST API in the same attitude and test the results from both sources.
Can you please suggest a different approach for examining this problem? Is there framework that will help for this task?
Testing with Tastypie is easy as they provide a special TestApiClient and ResourceTestCase which build on Django's testing api and tools and also provide a lot of helpful assertion methods.
The documentation is useful and has lots of examples:
http://django-tastypie.readthedocs.org/en/latest/testing.html
You want to see what queries are generated by django ORM or tastepy?
I think one easy way is to do a wrappper arround the DB class, where you run the DB class method, analise the results and print our save them to a file.
Another way to do this, is to use mysql slow_query_log with 0 seconds to log all the queries that are being made to MYSQL.
You can use a diferent user our schema to parse the results more easy.
Not good to test in production services :)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I was trying to make a small and simple web application(my first one) using Google AppEngine until I hit a roadblock(Google search returns None 302 on AppEngine) ..would appreciate if you look into this issue.
My app idea is that the user inputs a query which after some processing, a few links are recommended. There is no database or user management required in my app and hence I think Django would be an overkill. I stumbled across various other frameworks like flask, bottle, web.py etc. but could not decide which one would be the best for this simple application and for a beginner in web-dev. Suggestions?
Merry Xmas...
I guess the most minimalistic framework is Flask.
I have done small experiments with a few of the frameworks (Flask, Pyramid, Django, web2py...).
My personal winner is web2py (it just felt easy and elegant). I find it great in combination with pythonanywhere.com and github.com
I think it's also fair to say that you won't get away with just using Python. You will need some JavaScript and should know about css, etc.
thomas
CherryPy is another light-weight minimalist python web framework that you should take into consideration. In any case, any of the aforementioned minimalist frameworks would work just perfectly well for your purposes.
I'm always a supporter of Django, it just works. I've played with Flask, CherryPy and Web2py. Django is better than all of them, even if I just want to build something small and lightweight I'd choose Django.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I realise that web application frameworks are well documented, yet having tried 2 Python frameworks and found that are neither are suitable for my task, I hope you'll understand the need for this question.
I'm looking for a lightweight, "micro" framework for Python with the following features:
Basic HTML layout management
Features for HTML forms, tables etc.
Authentication and session management
Preferably integrable with mod_wsgi
Seamless importing of packages
That's it. You may ask why I need a framework for this at all - I don't. But it would save a lot of time, and I'm very surprised that I can't find something like this.
I'm reasonably advanced in Python but want to deal with the HTML and authentication as effortlessly as possible. I have a lot of existing code that I would like to be called from within the framework. I don't require an ORM or DAL, I would like my existing classes to continue to use their own MySQLdb driver. Inevitably, for authentication to be handled, an ORM or DAL will be included, but I just won't use it for anything other than authentication.
I have tried web2py and Grok, both supposedly lightweight, configuration-free frameworks, yet both were far too high-level.
Thanks in advance.
You should have a look at flask.
It comes with jinja as a template language.
It doesn't contain any ORM.
There are lots of well supported extensions for sessions, forms, ORM, etc.
You can also try WebPy.
The full (?) list of python web frameworks is given here. This slideshow compares 10 micro frameworks and should be of intrest. Not all of them will tick your boxes but at least it should give some hints as to their pros/cons.
I propose looking into web.py and Tornado.
Web.py is incredibly simple to use with a power of a full web framework.
I used it for OData implementation with great success.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I wonder if there is an open source CMS coded in Python that is as big as Drupal (or Joomla or Wordpress).
You are looking for Django. (Edited to say: OK, it's a web application framework, but there's lots of overlap. Django-CMS is maybe more what you want, but is in no way as big as Drupal or Joomla.)
Plone is an open source python powered CMS.
check out Web2py it comes tons usefully stuff
I'm looking for similar alternatives and have found http://www.lfcproject.com/blog/release-10-final. At least they just had a release. Looks promising.
Btw, development of Django-CMS looks either dead or stale :\
Tendenci was recently released into the open source community and is written in Python on a Django framework.
Tendenci CMS comes with a ton of features that require plugins/modules typically with other CMS' like membership management, selective permissions, event registration and event calendar, jobs board, video and photo galleries, etc.
You can download Tendenci on Github at https://github.com/tendenci/tendenci.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm currently supporting a Python web app with increasingly complicated user/role/permission management requirements. Currently, we are rolling our own user, groups, permissions, etc. code and supporting database.
I'd like to find something like ASP.NET membership that can help manage user authentication and authorization, rather than risk security issues in continuing to create an increasingly complicated custom solution. Are there any similar projects out there worth taking a look at?
If you are looking for off site user authentication you might want to consider openid. People have added openid support to cherrypy.
If you are looking for more user management type code. I guess it depends on exactally what you are doing but others have done user management before, why not leverage off them. Skeletonz is a CMS written on top of cherrypy. If you are not wed to cherrypy you might also want to consider Pinax. It's built on Django with the idea of reusing work others have done so you don't have to do it again.