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

browse by tag: model

sort by

newest, oldest, most popular


category icon

The EAV data model

in PHP added by lornajane, on 23/11/2010 advanced tutorials architecture databases modelling mysql

Clear and approachable post showing the use of the entity-attribute-value model to represent data. Includes great examples, tips on when this model is a good choice and when to use alternatives, and a real-world example examining how magento e-commerce uses this pattern.

comment save report
category icon

Monte Carlo Simulations

in PHP added by goodphptutorials, on 2/7/2010 advanced tutorials modelling monte-carlo

Monte Carlo simulations are a handy tool for looking at situations that have some aspect of uncertainty, by modelling them with a pseudo-random element and conducting a large number of trials. There isn’t a hard and fast Monte Carlo algorithm, but the process generally goes: start with a situation you wish to model, write a program to describe it that includes a random input, run that program many times, and look at the results.

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

Getting your head around PHP objects

in PHP added by goodphptutorials, on 11/8/2006 model objects oo programming

You get object-oriented languages like Java and Smalltalk, and function-oriented languages like PHP. Well that was the theory, until PHP introduced its objects model in PHP 3, and it's been getting progressively better at it since then. Yet still the practice of using objects in PHP remains a bit of a lost art ? you're more likely to find an application with a bunch of functions than objects. PHP just lends itself to function-like thinking.

comment save report