You are here: Re: Help with array « PHP Programming Language « IT news, forums, messages
Re: Help with array

Posted by Iv�n S�nchez Ortega on 03/11/07 04:14

aarondeloach wrote:

> No DB backend. This tree needs to be created on-the-fly from the array
> provided.

No way. Doing so, on-the-fly, every time, is:
a) a waste of CPU time (too inefficient)
b) consecuently, a decrease of the server performance
c) complex code
d) consecuently, a source of bugs
e) consecuently, a source of headaches


So, whatever backend you're using, modify it to store the tree. And run a
script, *once* to convert the plain array into the tree.

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

Now listening to: Orbital - Diversions (1994) - [5] Lush 3 - 4 Warrior Drift
Psychick Warriors Ov Gaia (10:49) (95%)

 

Navigation:

[Reply to this 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

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