michaelfox + mvc 27
bergie/midgardmvc_helper_location - GitHub
december 2011 by michaelfox
Geolocation handling library for PHP. Supports distance and direction calculations, and geocoding using multiple web services. When used with Midgard MVC there are additional tools for dealing with user and object geolocation.
php
midgard
mvc
geocode
location
geolocation
december 2011 by michaelfox
Building JavaScript Web Apps With MVC & Spine.js
may 2011 by michaelfox
In case you don't follow my other account, here's my new post: Building JavaScript Web Apps With MVC & Spine.js http://bit.ly/itlkID
ajax
javascript
mvc
spine.js
backbone.js
from instapaper
may 2011 by michaelfox
The M in MVC: Why Models are Misunderstood and Unappreciated - Maugrim The Reaper's Blog
may 2010 by michaelfox
I've been writing a book about the Zend Framework recently - I'm sure some of you have noticed :-). A while back I finished a draft of two chapters called "The Architecture of Zend Framework Applications" and "Understanding The Zend Framework". The first chapter is an exploration of the Model-View-Controller (MVC) architectural pattern and why it has become the defacto standard for adoption in web applications. The second explores how the MVC architecture relates to the Zend Framework's components, their design and interactions.
By the time I'd finished both chapters I realised I had spent a lot of space explaining the Model, most of it discussing how the Zend Framework does not actually give you one. In fact, no web application framework offers a complete Model (for reasons I'll explain later). However nearly all frameworks manage to avoid making that perfectly obvious. Instead they continually link the concept of a Model to the related, but not identical, concept of data access. This is quite misleading.
This side of frameworks never gets a lot of attention. Yet it is a massive contributor to a whole class of problems in applications which attempt to utilise MVC by adopting web application frameworks. Further, I've always found myself better entertained by banging my head against brick walls than by trying to get the idea of a Model across to other developers. I'm not saying all developers are stupid or dumb, or that they don't get the concept in general, but all developers (PHP or not) don't quite link Models to the area of practice which justifies them - Object Oriented Programming principles.
In this entry I explore Models in terms of how developers relate them to Controllers and Views in applications and note a few strategies you can employ when using proper Models.
model
mvc
oop
logic
bestpractices
By the time I'd finished both chapters I realised I had spent a lot of space explaining the Model, most of it discussing how the Zend Framework does not actually give you one. In fact, no web application framework offers a complete Model (for reasons I'll explain later). However nearly all frameworks manage to avoid making that perfectly obvious. Instead they continually link the concept of a Model to the related, but not identical, concept of data access. This is quite misleading.
This side of frameworks never gets a lot of attention. Yet it is a massive contributor to a whole class of problems in applications which attempt to utilise MVC by adopting web application frameworks. Further, I've always found myself better entertained by banging my head against brick walls than by trying to get the idea of a Model across to other developers. I'm not saying all developers are stupid or dumb, or that they don't get the concept in general, but all developers (PHP or not) don't quite link Models to the area of practice which justifies them - Object Oriented Programming principles.
In this entry I explore Models in terms of how developers relate them to Controllers and Views in applications and note a few strategies you can employ when using proper Models.
may 2010 by michaelfox
HVMC: an Introduction and Application | Nettuts+
may 2010 by michaelfox
This tutorial is an introduction to the Hierarchical Model View Controller(HMVC) pattern, and how it applies to web application development. For this tutorial, I will use examples provided from the CodeIgniter from Scratch series and demonstrate how HMVC can be a valuable modification to your development process. This introduction assumes you have an understanding of the Model View Controller (MVC) pattern. We suggest you read our introduction to MVC to get acquainted with the topic before tackling this tutorial.
codeigniter
mvc
hmvc
plugins
structure
project
organization
site
may 2010 by michaelfox
related tags
abstraction ⊕ ajax ⊕ backbone.js ⊕ bestpractices ⊕ caching ⊕ cocoa ⊕ codeigniter ⊕ components ⊕ controller ⊕ crud ⊕ css ⊕ database ⊕ design ⊕ development ⊕ diy ⊕ events ⊕ forms ⊕ framework ⊕ generator ⊕ geocode ⊕ geolocation ⊕ hmvc ⊕ howto ⊕ inheritance ⊕ inspiration ⊕ javascript ⊕ jquery ⊕ kohana ⊕ library ⊕ location ⊕ logic ⊕ midgard ⊕ model ⊕ mvc ⊖ MY_Controller ⊕ oo ⊕ oop ⊕ opensource ⊕ organization ⊕ orm ⊕ patterns ⊕ php ⊕ php5 ⊕ plugins ⊕ programming ⊕ project ⊕ read ⊕ reference ⊕ rest ⊕ routes ⊕ sammy ⊕ sinatra ⊕ site ⊕ source ⊕ spine.js ⊕ structure ⊕ template ⊕ toolbox ⊕ tools ⊕ tutorial ⊕ views ⊕ walkthrough ⊕ webdev ⊕ zend ⊕Copy this bookmark: