HMVC with Codeigniter


HMVC is an evolution of the MVC pattern used for most web applications today. It came about as an answer to the salability problems apparent within applications which used MVC. The solution presented in the JavaWorld web site, July 2000, proposed that the standard Model, View, and Controller triad become layered into a “hierarchy of parent-child MCV layers“. The image below illustrates how this works:

HMVC structure

Key advantages to implementing the HMVC pattern in your development cycle:

  • Modularization: Reduction of dependencies between the disparate parts of the application.
  • Organization: Having a folder for each of the relevant triads makes for a lighter work load.
  • Reusability: By nature of the design it is easy to reuse nearly every piece of code.
  • Extendibility: Makes the application more extensible without sacrificing ease of maintenance.

These advantages will allow you to get M.O.R.E out of your application with less headaches.

Download and Tutorial : https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc

NOTE : Need some adjustments on several parts.

How to Remove Unncessary Space (Blank lines) Between lines in Dreamweaver?


Easier:

  1. Open the file
  2. Click CTRL + F
  3. Select “Current document” in “Find in” (You can also select the folder if you have multiple files)
  4. Search in “Source code”
  5. Tick “Use regular expression”
  6. Type “[\r\n]{2,}” (without quotes) in “Find”
  7. Type “\n” (without quotes) in “Replace”
  8. Press “Replace All”

Done.

HTML 5 samples


Many Stackers may already know I’m tired of hearing about the lack of Flash on mobile devices. I’ve always tried to explain we are not missing anything and Flash is great but it’s a resource and battery hog among other things (security) for mobile devices. 

So i went in search of some HTML5 luv to show some of it’s potential. While we fight for Flash I think it’s also important we fight for something even better than Flash. Something that does not suck our resources and battery dry and something that maintains security while being used on a mobile phone. 

Samples of HTML5:

Sample 0
Sample 1
Sample 2
Sample 3
Sample 4
Sample 5
Sample 6 
Sample 7
Sample 8
Sample 9

I think we will be JUST fine without Flash as long as people push the envelop with HTML5. We should be requesting developer push and deliver the best for our mobile experience and not just follow what others have always done.