sábado, 29 de mayo de 2010

Brand new project running on GAE. What to choose?

I have to build a web project in a very short time (3 weeks)

Features:
Google service integration (spreadsheet, authentication, probably Picasa)
Great template language as non-programmers will add new features using functions in the template context.
Monitoring and controls of the state of the CPU load, data, caches, singletons, etc.
Hight traffic, low cost high availability, that's why we want GAE
I cannot deal with bugs for time and health (:-)) reasons

1) Java, Freemarker, AspectJ, Scala

Advantages:
Fastest environment, a lot of open source libraries (maybe too much), I can choose between three interpreters (Groovy, Scala, Jython)
Disadvantages:
FreeMarker template seems buggy as in GAE the reflection package is not the standard one, I don't want to use Velocity or JSP. Any other great template engine candidate?

2) Jruby
Advantages:
Very productive, vibrant community
Disadvantages:
It is starting to be mature now on GAE and I still do not know anybody that professionally delivers Jruby solutions on GAE, any high traffic web app use Jruby on GAE?


3) Django Solution
Advantages:
Native on Google, Django template engine is lovely
Disadvantages:
I never delivered a project with Django

I also tried Grails but it seems to be slow and buggy on GAE.

After 3 days testing and reading forums of Java technologies, now I am making the demo I prepared in Django, let's see....

miércoles, 5 de mayo de 2010

Another scrum joke about the Pig and the Chicken

One day the Pig (Adobe) meets an old friend the Chicken (Apple) and says:

Pig: Hey broth what's up? My ham is ready to be served with your funky eggs. Let's set up a party on the beach! everybody will love our old dish in the new style!!

Chicken: hi, you know ... I am not sure ....  my eggs are bio and your second hand ham will not match.....  one thing more ...  I didn't  like the commissions that you charged for the last party!! so I thing you better go to other non-bio chicken to set up your business!

sábado, 1 de mayo de 2010

Bug in Picasa web album python client library

I write it here because I did not find any clear resource on the web.

I have found an error executing the first line of code in the API documentation (after the authentication section) of Picasa python library:

try to get the albums:
albums =  self.gd_client.GetUserFeed().entry

this code:
def AnyFeedFromString(xml_string):
   tree = ElementTree.fromstring(xml_string)

fire:
 tree = ElementTree.fromstring(xml_string)
  File "", line 85, in XML
SyntaxError: syntax error: line 1, column 0



Workaround:
Some problems with SSL:
self.gd_client.ssl = False