PHP: Use Pecl/Pear, or build my own systems? -


when building of php apps, lot of functionality coded using pear/pecl modules, however, fact people using may not have access install things, poses puzzler me.

should forsake users use pear/pecl functionality, these allow me have system coded quicker if wrote own functionality, eans exclude people using it.

it partly depends on how time have, , purpose of project. if you're trying make works, go pear/pecl. if you're trying learn better programmer, , have time, i'd recommend taking effort write own versions. once understand innards of whatever you're trying replace, may want switch pear/pecl version you're not wasting time reimplementing has been implemented...

...but on other hand, preexisting tools don't need, , have overhead doesn't good. why unix command-line tools small , narrow of purpose; nobody needs version of 'ls' can besides 'ls' can do. version of whatever pear library will, virtue of being written you, need doing. requires careful thought...

...but on gripping hand, don't spend time thinking it. spend 5 minutes, make decision, , start coding. if make wrong decision, you'll @ least have gotten more practice coding. :-)


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -