|
Project Information
Featured
Downloads
Links
|
WelcomeWelcome to Montao, a GAE application powering Montao.com.br, Kool Business, Gralumo, Devetdana and others to provide a free service for all to post and search online advertisements. Our features include announcing your geography coordinates with up to 2 GB files, your quality webpage for your announcement and multilingual added, viewed and recommended advertisements and announcements. Inspired by craigslist, olx.com and blocket.se. Development EnvironmentGAE SDK defines the development environment. The main routing scheme is /<region>/<city>/<category>? e.g. /sao_paulo/grande_sao_paulo/vehiculos? implemented as app = webapp2.WSGIApplication([('/([^/]+)/?([^/]*)/?([^/]*)',Handler),],debug=True)Another routing scheme that can be used is app = webapp2.WSGIApplication([('/([-\w]+)/([-\w]+)/([-\w]+)', handler)],debug=True)The template engine used is Jinja2 and the forms framework we use is WTForms. Any questions about the Montao code, just feel free to share your thoughts and ideas with us! Why for example is this solution the best? It's internationalized and localized. You can advertise any even where we didn't think of e.g. Islamabad and prepared so that the name Islamabad will show up on the a fetched via geocoding instead of prepopulated locally. It's done through so-called reverse geocoding so we have a nice function(longitude,latitude)=Placename and also the other way since it's reversible we can get lon/lat for citities and vice versa. |
