best framework on gae(python) ,like jquery on javascript ? has it? - python

i want to find a framework to make my work simple on gae ,
has it ?
thanks
i found one, but not very good http://code.google.com/p/appengine-framework/

There are a large number of frameworks you can use on App Engine - both those custom designed for it, and those that are general purpose and work fine on App Engine. If you've used a Python framework in the past, some small amount of searching will tell you if it will work on App Engine with or without modifications. Common frameworks that do work on App Engine include Django, web2py and Pylons.
There's a fairly comprehensive list or open source tools here.

Related

Open-source examples of open-source GAE projects in Python?

There are plenty of well known sites that use GAE
Example of large sites running on Google App Engine
But I wonder if there are examples of python open-source projects built on the GAE that I can simply download and play with.
I find it easier to learn by doing rather than reading throught the docs. Having a working model that I can launch locally would be more useful than all the reference material in the world because it would show me how to structure, configure + some best practices.
If I could have my wish-list, I'd look for an example that:
Actually does something - not just static pages
Makes use of a number of different entities, preferably with some relationships between them
Some templates
Possibly a RESTFUL API
Using the builtin webapp framework (not django etc)
Thanks!
Take a look at Google App Engine samples repository.

What sample application demonstrates best practices for MVC structure in a Google App Engine/Python app?

Although I know the Python language, I've never built a significant web app containing a large number of classes.
Now that I am contemplating doing so, I am questioning how best to structure the code in an organized way as I would normally do in a Java application.
Are there any sample Python web apps for App Engine that provide a good example of large-scale code structure?
I recommend checking out Bloggart and rietveld.
For more, here's a list of App Engine samples, a big list of open-source App Engine projects, and another one.
rietveld, by Guido van Rossum (Python creator) is a Django app built on GAE and is a good one to check out.

Python web framework - other than Django

Are there any other good Python web frameworks? I'm looking to try something new, I have already used Django, web.py and pylons. Also, what frameworks are AJAX-oriented or have better support for AJAX?
I'm looking for something more agile, light weight.
Here is a really long list of python web frameworks
more than a framework, ToscaWidgets2 http://toscawidgets.org/documentation/tw2.core/
TW2 is a widget framework for any wsgi compliant python web framework, originally born for TurboGears, i use TW2 with Pylons, and i presume that can be used without problems with new Pyramid Web Framework (i never try to use with Django)
Now, if apart from Ajax, you like to review other Python Web Frameworks, my recomendation can be:
1) Pyramid, a evolution from repoze.bfg and Pylons, integrate great tools and developers.
2) Bootle, Flask great microframeworks for quick and dirty apps.
3) Tipfy, a web framework thinked for Google App Engine, the best for me for this (after Django)
There is a framework called Pyjamas which is along the lines of Google Web Toolkit which was used to build Gmail. Seems to fit the bill for your AJAX requirements.
You might check out web2py. Very easy to learn and use, and great Ajax support (see also, web2py components).
There is pylons https://stackoverflow.com/questions/48681/pros-cons-of-django-vs-pylons

Good resources to start python for web development?

I'm really interested in learning Python for web development. Can anyone point me in the right direction? I've been looking at stuff on Google, but haven't really found anything that shows proper documentation and how to get started. Any recommended frameworks? Tutorials?
I've been doing PHP for 5 years now, so I just want to try something new.
Django is probably the best starting point. It's got great documentation and an easy tutorial (at http://djangoproject.com/) and a free online book too (http://www.djangobook.com/).
Web Server Gateway Interface
About
http://www.wsgi.org/en/latest/index.html
http://en.wikipedia.org/wiki/Web_Server_Gateway_Interface
Tutorials
http://webpython.codepoint.net/wsgi_tutorial
http://lucumr.pocoo.org/2007/5/21/getting-started-with-wsgi/
http://archimedeanco.com/wsgi-tutorial/
There are three major parts to python web frameworks, in my experience. From the front to back:
Views/Templates: Application frameworks don't function as independent scripts - instead, you map paths to python functions or objects which return html. To generate the html you probably need templates (aka views). Check out Cheetah.
Application framework/Server: There are plenty. CherryPy is my favorite, and is good for understanding how a python application server works because a) it's simple and b) unlike django and others, it is just the application server and doesn't include a templating engine or a database abstraction layer.
Database layer: I've actually never used it, but everyone seems to like SQLAlchemy. I prefer, in simple applications, executing SQL directly using a tool like psycopg2 (for postgres).
You can try Django. It's easy to learn, and it works with GAE (though the default version is 0.96, a little bit old, but you can change it). And there's a video about rapid development (by Guido Van Rossum) that goes through the basics of setting up a Django project in App Engine.

Resources for developing Python and Google App Engine

I would like to ask about some sources for developing applications with Python and Google App Engine.
For example, some controls to generate automatically pages with the insert/update/delete of a database table, or any other useful resources are welcome.
Thank you!
The Python community tends to look askance at code generation; so, #Hoang, if you think code generation is THE way to go, I suggest you try just about any other language BUT Python.
#Dominic has already suggested some excellent resources, I could point you to more (App Engine Fan, App Engine Utilities, etc, etc) but they're all based on the Pythonic mindset: understand what you need and what you could be doing, wrap as much of it as feasible into reusable components, reuse those components from your own sources.
You want magic, wizards and code generation that basically excused you (in theory) from STUDYING and UNDERSTANDING: give up on Python, it's SO not the language for that,
The google app engine "Getting Started" tutorial is very good. The django documentation is also really detailed.
Take a look at GoogleIO on youtube and watch some of the tutorials.
App Engine Documentation
http://code.google.com/appengine/docs/
App Engine Google Group
http://groups.google.com/group/google-appengine
Google I/O conference videos
http://code.google.com/events/io/
App Engine Cookbook
http://appengine-cookbook.appspot.com/
and, of course, stackoverflow

Categories

Resources