Friday, June 15, 2012

Minow now has multiple themes

Yesterday, I tested the Minow framework with another theme that I personally like because of simplicity and card-layout - Shaken Grid. As earlier, I am not the owner or maintainer of the theme, I just ported it to Minow.
I did this experiment to identify theme-requirements early (lean methodology) with minimum efforts and resources.
The result is some changes in the Minow Engine to serve images, CSS and JavaScript content with appropriate content-type from the template folder noting that the actual theme template should not be accessible directly (read: raw).
To summarize what's available as of now is:
  • Theme, with templates based on Freemarker.
    As of now, the choice of template is based on query string (as PoC). Eventually, it will be configurable.
  • Localization, with locales based on ISO-639 and ISO 3166-1 alpha-2 codes.
And the results are available at:
Screenshot of what's working:


Wednesday, June 13, 2012

Update on Minow Progress

Minow (Minow Is Not Wordpress) Engine can now read data from data-store. It's not generic enough though - right now hard-coded to Google App Engine, but nevertheless.

Here's what I've done since last push:
  • Model for localized content is ready
  • Basic logic to retrieve content for a given locale (not parent, no fallback) is ready. For example, if the language is "hi_IN" (Hindi-India), it - as of now - can get you the content for "hi" and/or fallback to "en_US" / "en".
    As of now, the language is a query-parameter... will enhance to parse "accept-languages" header with priority (q=0.3 etc)
  • Nest theme has been updated to use the "real" data
  • Implementation exists to lazy load data from the store - don't load the posts until they're really required. A lot of Wordpress templates do not have blog on their landing page
  • And of course, a piece of code generate sample data ;-)
The code is live at its usual location - http://minow-web.appspot.com/. However, try also: http://minow-web.appspot.com/?lang=hi to the "sample content" in Hindi.

Screenshot of what's working:



Monday, June 11, 2012

Wordpress on Google App Engine

I think this is a dream for almost every blogger... well, at least my and at least hundreds of thousands of others.

Most of the other results that you'll find on search engines relating to Wordpress and Google App Engine are about running Wordpress on GAE/J by using Caucho Quercus - a bridge between PHP and Java. However, if running / simulating PHP on Java was that easy, PHP on GAE would not have been most starred issue.

And that made me think... how about creating, may be, yet another blog engine for GAE. And what better than taking clues from Wordpress.

So, that gave birth of Minow, acronym for Minow Is Not Wordpress. Yes, it's a recursive acronym - see http://en.wikipedia.org/wiki/Recursive_acronym for what I mean.

I just got a basic, brute forced, version of Minow up and running on GAE. It's available at http://minow-web.appspot.com/.

(Thanks to YChong for the Wordpress Nest Theme that I've gotten started with as a PoC).

Screenshot of what's working:


Saturday, June 9, 2012

Friday, June 8, 2012

Yahoo! Mojito on standard Node Server/Cloud

Getting started with Yahoo! Mojito is pretty straightforward. The only catch is, you must issue a mojito start command.

The problem that we get into is that most of the public Node.js clouds have no idea about this new command. All they know to do is node server.js

Recently I tried my hands with Nodester (www.nodester.com). Standard mojito code failed since server.js only instantiated an HTTP server but did not listen.

With inputs from Terry on making the server listen, I was able to run Mojito application on Nodester.
The original discussion between Terry and myself is at http://groups.google.com/group/nodester/browse_thread/thread/e35c7eb3b122ff01

The running application is provisioned at http://gvtestapp.nodester.com/@HelloMojit/index

UPDATE: The application is now available at http://gvtestapp.nodester.com/