want to join us? register, it's easy | help

browse by tag: mvc

sort by

newest, oldest, most popular


category icon

Scaling Web Applications with HMVC

in PHP added by goodphptutorials, on 23/2/2010 framework hmvc kohana mvc php5 scaling

The last decade has been witness to the second iteration of web design and development. Web sites have transformed into web applications and rarely are new projects commissioned that do not involve some element of interactivity. The increasing complexity of the software being developed for the internet fuelled a requirement for structured and considered application design.

comment save report
category icon

Understanding MVC in PHP

in PHP added by goodphptutorials, on 30/12/2009 advanced tutorials mvc oo programming

This article series (continued in Implementing MVC in PHP: The Controller, Implementing MVC in PHP: The View, and Implementing MVC in PHP: The Model) demonstrates how to build an MVC web framework using PHP 5. This article covers the basics of MVC web frameworks, building the foundation classes for a framework that the other three articles in this series will build.

comment save report
category icon

Cook up Web sites fast with CakePHP, Part 4: Use CakePHP's Session and Request Handler components

in PHP added by goodphptutorials, on 30/6/2009 cakephp framework mvc session

CakePHP is a stable production-ready, rapid-development aid for building Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you how to build an online product catalog using CakePHP. Part 4 focuses primarily on the Session component of CakePHP, demonstrating three ways to save session data, as well as the Request Handler component to help you manage multiple types of requests (mobile browsers, requests containing XML or HTML, etc).

comment save report
category icon

Add Power to Your PHP With Multi-Tiered Applications

in PHP added by goodphptutorials, on 16/4/2009 multi-tier mvc php5

As PHP applications become more and more complex, it can be easy to end up with a tangled mess of code that makes maintenance nearly impossible. Applying the concept of tiered applications can help to alleviate some of the difficulty in maintaining complex applications.

comment save report
category icon

Marrying Smarty and PHP Doctrine

in PHP added by prodevtips, on 20/8/2008 advanced tutorials mvc oo programming php5

Tutorial with source code describing how to create a small MVC framework where PHP doctrine is responsible for the models and Smarty for the views. The controller we make ourselves.

comment save report
category icon

Flex and PHP: Party in the Front, Business in the Back

in PHP added by CalEvans, on 13/5/2007 advanced tutorials flash flex mvc ria zend framework

Since the first time I really saw and understood what Flash was and did, I've been jealous of what Flash designers could do. Beyond just the cute animations for banner ads and games, Flash designers have always had a much more fine-grained control on their environment that HTML allows for. Besides my innate inability to design anything like a usable interface, the main drawback that has kept me from exploiting Flash is I never could get my head around the "Movie Timeline" metaphor for programming. As we say back home, "It just ain't right."

That all changed with Flex. Now programmers can work with tools they are comfortable with and still take advantage of all of Flash's...well, flash. Flex won't help developers like me design eye-pleasing interfaces any more than a new pencil would improve my inability to draw. However, I can now put much more useful interfaces on my back-end code. That brings us to our topic, using Flex as a front-end for PHP web services. More specific, we will be using PHP and the Zend Framework as the back-end data source for a Flex application.

comment save report
category icon

Building a simple MVC system with PHP5

in PHP added by goodphptutorials, on 28/8/2006 controller model mvc oo programming php5 router view

In this tutorial you will learn how to build a simple Model-View-Controller system with PHP 5.1 and some of SPL's (Standard PHP Library) features.

comment save report
category icon

Implementing MVC in PHP: The Controller

in PHP added by goodphptutorials, on 5/2/2006 controller mvc oo programming oop patterns

Quite simply, the controller handles incoming requests. It uses input, in this case from the URI, to load a module and refresh/render the presentation layer. The controller for the aptly named Framework 1.0 uses a few GET arguments to figure out which module to load.

comment save report
category icon

Modular PHP Development with FastTemplate

in PHP added by goodphptutorials, on 5/2/2006 advanced advanced tutorials content logic modular mvc presentation seperation

This article will demonstrate how to divide logic from presentation and presentation from content. In the end, a web page will consist of three files: one PHP file with all page logic, one HTML file containing the presentation, and one or more language files that will hold the texts for the page.

comment save report
category icon

The MVC pattern

in PHP added by goodphptutorials, on 14/1/2006 controller mvc n-tier oo programming oop pattern view

The MVC pattern very commonly used in constructing web applications. The principle allows us to construct 3-tier applications, allowing us useful layers of seperation in our code, and helping both designers and developers to cooperate as well enhancing our ability to maintain and expand on existing applications.

comment save report