FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How do we manage large code sets in PHP?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How do we manage large code sets in PHP? [message #169660 is a reply to message #169657] Tue, 21 September 2010 23:29 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 9/21/2010 7:07 PM, Michael wrote:
> In C/C++ we create manageable files and compile/link them together
> into a single executable. What do we do in PHP?

First of all PHP is not compiled - it is interpreted. So you don't
compile or link them.

But basically, you do it the same as in C/C++ - modularize your code,
use functions and classes as appropriate. But where the C/C++
compile/link step effectively includes everything together into one
file, you do it yourself with include statements in your main module
(and others, as necessary).

Not really that hard once you get used to it. And despite what TNP
claims, PHP is used for a lot of things other than web pages. But then
he thinks a return statement is the same as a goto, so what do you expect?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: empty __FILE__ in quercus
Next Topic: Dynamic field names in recordset
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 23:51:04 GMT 2024

Total time taken to generate the page: 0.04079 seconds