Reply to Re: Newbie - Redirect to do processing

Your name:

Reply:


Posted by funky on 12/31/05 18:40

Hi lugh!

I see what you are getting at. I however do not understand how the
array can be a model. Normally in MVC the model is what the view
represents and it (the model) should not really know anything about the
view (or the controller). The controller knows about the view and the
model.

In your example I would say that the array is more like a controller is
it "controls" what the next view will be based upon a url parameter (i
guess).

I like the idea that you give pages ids. In fact I do that in some way
as well. Instead of using urls, I use a class which converts ids to
urls so that if i ever change a path I do have to do a grep over all my
php files.

Is this how you organise your php web pages?

Cheers,

funky

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация