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

Home » Imported messages » comp.lang.php » Including PHP scripts on same server
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Including PHP scripts on same server [message #171926 is a reply to message #171911] Fri, 21 January 2011 17:08 Go to previous messageGo to previous message
Leonardo Azpurua is currently offline  Leonardo Azpurua
Messages: 46
Registered: December 2010
Karma:
Member
"jwcarlton" <jwcarlton(at)gmail(dot)com> escribió en el mensaje
news:5f96a08e-f405-4008-b37e-1fef85b66ecf(at)l24g2000vby(dot)googlegroups(dot)com...
>> Why does it matter. If you're that concerned about speed of
>> execution,
>> why are you using php in the first place? You should code your site
>> in
>> C.
>
> That's actually a very good question. If I were a better C
> programmer,
> I probably would :-)

:-)

I am above anything else a C programmer. In fact, my first approach to
web development was a set of C programs that ran as CGI.

It is fine if you host your own domain, but with many hosting
providers, allowing your own binaries to run is some sort of anathema.

With most OSs, the most consuming operations in file handling are
"opens", so, yes, it is likely that splitting a large file into
several small units will add a significant overhead to your script's
execution time.

But if one compares the development time required to navigate and
maintain a large source file against the time required to open the
specific file with the specific functions that you have to work with,
it is likely that the overall life cycle of your program will improve
by using simpler, smaller units.

"Overhead", with modern equipment and OSs, may be safely neglected
except in the most critical applications.

--
[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
Previous Topic: ElephantMark - a new simple tool for PHP documentation
Next Topic: hack
Goto Forum:
  

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

Current Time: Fri Sep 20 17:35:59 GMT 2024

Total time taken to generate the page: 0.06558 seconds