rss

CakePHP Migrations Plugin

1

Category : Application Design, PHP

I regularly read through http://cakedc.com/, they have lots of CakePHP plugin that i can use in my CakePHP development. I was facing some problems with cakePHP migrations, i am not saying that CakePHP does not support that but its not come by default with the framework, you have to put some efforts to get it done.
I came across this CakePHP migration plugin that seems to be very useful in keeping my DB migration manageable.

The Migrations plugin provides a comprehensive management system whereby the database schema for a CakePHP project can fluctuate during development involving any number of developers. This is achieved by incrementally managing database changes, providing customisable hooks and callbacks for data migration and changes to meet migration paths, and migration maps to provide flexible application of migration instances.

Migrations is great for any development team, or individual that wants to manage database schema and data changes throughout the development lifetime of a project.

Requirements

CakePHP 1.3 or higher.

If you need a version to use with CakePHP 1.2 please contact us directly.

You can download the plugin from CakeDC site http://cakedc.com/eng/downloads/view/cakephp_migrations_plugin

Share

Creational design patterns

Category : Application Design

SingletonEnsure that only one instance of a class is created and Provide a global access point to the object.

Factory (Simplified version of Factory Method) – Creates objects without exposing the instantiation logic to the client and Refers to the newly created object through a common interface.
Factory MethodDefines an interface for creating objects, but let subclasses to decide which class to instantiate and Refers to the newly created object through a common interface.
Abstract Factory – Offers the interface for creating a family of related objects, without explicitly specifying their classes.
Builder – Defines an instance for creating an object but letting subclasses decide which class to instantiate and Allows a finer control over the construction process.
Prototype – Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
Object Pool – reuses and shares objects that are expensive to create..

Share

Application Architecture Patterns

Category : Application Design

All applications follow one of the following industry-standard Application Architecture Patterns

  • Client-Proxy Server: Acts as a concentrator for many low-speed links to access a server.
  • Customer Support: Supports complex customer contact across multiple organisations.
  • Reactor: Decouples an event from its processing.
  • Replicated Servers: Replicates servers to reduce burden on central server.
  • Layered Architecture: A decomposition of services such that most interactions occur only between neighboring layers.
  • Pipe and Filter Architecture: Transforms information in a series of incremental steps or processes.
  • Subsystem Interface: Manages the dependencies between cohesive groups of functions (subsystems).
  • Service: Users accessing transactions on a 24×7 basis (a.k.a. user-to-business)
  • Collaboration: Users working with one another to share data and information (a.k.a. user-to-user)
  • Information Aggregation: Data from multiple sources aggregated and presented across multiple channels (a.k.a. user-to-data)
  • Extended Enterprise: Integrating data and processes across enterprise boundaries (a.k.a. business-to-business)
Share

Amit Yadav is Stephen Fry proof thanks to caching by WP Super Cache