News for hackers. Stuff that matters.
Re:Ask HN: Review my app: Search expired/available short dom... by dschobel on Friday January 01, 2010 @04:44PM (#1026294)
Very cool. What is the backend written in?
Re:Ask HN: Review my app: Search expired/available short dom... by jcrocholl on Friday January 01, 2010 @04:59PM (#1026317)
It's written in about 2500 lines of Python, using Django 1.1 (app-engine-patch) on Google App Engine. Full source code is here: http://github.com/jcrocholl/scoretool
Re:Ask HN: Review my app: Search expired/available short dom... by davepeck on Friday January 01, 2010 @05:03PM (#1026327)
Out of curiosity, why did you settle on app-engine-patch rather than use_library()?
Re:Ask HN: Review my app: Search expired/available short dom... by jcrocholl on Friday January 01, 2010 @05:21PM (#1026347)
Because app-engine-patch includes more than just a zipped package of Django 1.1. It comes with jQuery, the Blueprint CSS framework, a media generator to join and minify your CSS and JavaScript, automatic URLs for each app (using urlsauto.py), and helper functions like ragendja.template.render_to_response and ragendja.dbutils.get_object_or_404.
Re:Ask HN: Review my app: Search expired/available short dom... by davepeck on Friday January 01, 2010 @05:25PM (#1026357)
Got it. I just wondered if there were standard-Django features you wanted to use, but couldn't (easily) without AEP. It sounds, however, like it was all the other in-package goodies that made AEP desirable.

If there were a "GAE django starter project" that included jQuery etc. but made use of use_library(), would that be interesting?

Re:Ask HN: Review my app: Search expired/available short dom... by jcrocholl on Friday January 01, 2010 @05:34PM (#1026369)
Yes, that would be interesting because the startup time for loading the zipped Django 1.1 package is significant. Maybe app-engine-patch can be tweaked to use_library()?
Re:Ask HN: Review my app: Search expired/available short dom... by csomar on Friday January 01, 2010 @04:56PM (#1026314)
it's hosted in appspot, so it should be python (unless Google supported other languages)
Re:Ask HN: Review my app: Search expired/available short dom... by jcrocholl on Friday January 01, 2010 @05:01PM (#1026322)
Google now supports both Python and Java on App Engine, but you're right it's Python.
Re:Ask HN: Review my app: Search expired/available short dom... by PanMan on Saturday January 02, 2010 @08:37AM (#1027176)
And via the Java JVM it's possible to run other languages as well: I have seen PHP, and think there's a ruby version...