Tuesday, July 24, 2012

Drupal COD on Windows 7

  1. COD Requirements
  2. COD has been tested extensively with this configuration:
    • PHP 5.2
    • MySQL 5
    • Apache
    • Apache mod_rewrite module for clean urls
    COD should also work with general system requirements for Drupal 6.
               2. Installing Apache 2 and PHP 5.2 on Windows
      1. Download Apache 2 from Apache.org (i took 2.0.64 since PHP 5.2 on Windows uses VC6)
      2. Get PHP for windows from here (Drupal COD 6 was tested with PHP 5.2, download thread safe version as Apache is multi-threaded in windows)
      3. Follow steps for configuring Apache and PHP here (when u start Apache it complains that mysql dll is not present, ignore it for now)
      4. Create the test file , invoke it ,pat urself and get back to work

                3. Install MySQL                        

                      1. Download MySQL 5.x and Install (used MSI installer)
                      2. Create database using MySQL command line (the user in first 2 commands refers to root)

                4. Install COD

                      1. Update php.ini to increase the max_execution_time and input time to 5 or 15 mins based on how fast your comp is
                      2. Follow Step 3 and Step 4 in Drupal site (select COD option in the install page)


1. How to Install and Configure PHP 5 to Run with Apache on Windows
2. http://drupal.org/documentation/install/windows
3. http://drupal.org/node/264

Sunday, July 22, 2012

CouchDB + Application Server = CouchApp

guess i am getting closer to my vision


nope, this turned out to be not active, the feeling was that, it is best suited for weekend apps rather than large scale. Couldn't find any references to prod deployments.

Saturday, July 21, 2012

Mobile Application Architecture and Design Considerations

A good listing of design considerations (some of them are trivial thou)
An easy answer to take the Native vs HTML 5 decision
"If your application requires local processing, access to local resources and can work in occasionally connected scenario or no connectivity consider designing a native application"
But Sencha Touch begs to differ
"Native application enthusiasts have often pointed to this need for offline access as being one of the factors that prohibits the feasibility of web-based application development. In this article, we'll set out to prove this argument wrong"
one other important consideration that i forgot where i read is
"While we have to design for the "I'm microtasking" mindset, optimizing for quick dashes of activity, we also have to accommodate the "I'm bored" mindset, allowing and encouraging leisurely strolls through our apps and data."

Friday, July 20, 2012

Mongo vs Couch db vs other No SQL

My Summary: since i am building a mobile app, would prefer couch db, since it supports REST out of the box, good for a startup like us to hit the market asap


 - a good unbiased comparison

http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis/ - a good one one with summary of what is each of them best suited for

What is Mongodb ?

What is REST ?


Sencha Touch 2 vs PhoneGap vs Appcelerator Titanium

My summary of what different frameworks offer today, PhoneGap is off the table since it is more suited for simpler apps and titanium is for developers with JavaScript background. Sencha Touch 2 is good if you are on the HTML 5 bandwagon. 

I am going ahead with Appcelerator Titanium as i am native.

Tried one of the featured PhoneGap app (that supported < iOS 5) and it was miserable (try navigating using the top buttons and it becomes clumsy)