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

Home » Imported messages » comp.lang.php » request for error checking feature
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: request for error checking feature [message #184078 is a reply to message #184068] Wed, 04 December 2013 14:41 Go to previous messageGo to previous message
Ben Bacarisse is currently offline  Ben Bacarisse
Messages: 82
Registered: November 2013
Karma:
Member
Jerry Stuckle <jstucklex(at)attglobal(dot)net> writes:

> On 12/3/2013 9:42 PM, Ben Bacarisse wrote:
>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> writes:
>>
>>> On 12/3/2013 7:02 PM, Ben Bacarisse wrote:
>>>> Christoph Michael Becker <cmbecker69(at)arcor(dot)de> writes:
>>>>
>>>> > richard wrote:
>>>> >
>>>> >> Correcting errors one at a time, uploading, and doing that a few hundred
>>>> > ^^^^^^^^^
>>>> >> times is tedious, time consuming, and damn boring.
>>>> >
>>>> > Set up a development environment on your local machine -- that'll save
>>>> > you a lot of time. No need to upload any files in this case -- just
>>>> > edit them in place and refresh the browser window.
>>>>
>>>> For people doing a lot of development a full server + PHP + bells +
>>>> whistles is invaluable, but for simple stuff it is worth knowing that
>>>> recent PHP versions come with a built-in server mode.
>>>>
>>>
>>> Which may or may not operate the same as the production server. It
>>> depends on a lot of factors, including the exact server being used,
>>> the modules loaded and the server configuration, amongst other things.
>>
>> Yes, it's main value is probably for learning PHP or early prototyping
>> where you should be able to avoid anything server specific. PHP modules
>> are not a problem -- you can add those in the usual way.
>
> No, it's main value is for you to develop in an environment as close
> to identical on the server as possible. Everything I do server-wise
> is tested on my development systems first.

Me too. I think we've used different associations for "it". My "it"
was PHP's internal server. I'm guessing at its usefulness based on only
two reports from friends. Since I happen to have a full development
system, I don't use it myself.

>>> It isn't all that hard to set up a development server pretty much
>>> identical to the production server. And a lot more accurate in
>>> duplicating the environment. Even for simple stuff it is invaluable.
>>
>> Actually I've found it to be frustratingly difficult. I help out with
>> several sites with different PHP versions, each with a sightly different
>> sets of PHP modules and configurations. The server types and loaded
>> modules also vary a lot, and at least one site uses a module that I'd
>> have to buy if I wanted accurate duplication. Rather than have multiple
>> installs or virtual machines all over the place I've opted for a single
>> "typical" set-up that is probably not the same as any of the live ones.
>
> I have a standard setup that I use on all my servers.

Sadly, I can't do that. The "helping out" almost always happens after
the site is up and the organisation is usually reluctant to change
anything at all.

> If I need a
> different setup for a client, I'll either create a separate
> configuration file for my test systems or I create a new virtual
> machine. It doesn't take me more than about 30 minutes to go from
> nothing to a working virtual machine.
>
> As far as paid modules go - if it's necessary for proper operation of
> the website, I get it. It's a cost of doing business.

I don't usually ask for money so paying for stuff has be justified to
the individual or charity involved. In the specific case of the paid
for module it was simpler just to work out what it was doing rather than
trying to match my development environment to the production one. I
agree wholeheartedly that it's a good idea, I just don't think it's
always possible or even always worth the time and or money.

--
Ben.
[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
Previous Topic: illegal offset problem
Next Topic: odd iframe problem
Goto Forum:
  

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

Current Time: Sun Nov 24 13:58:43 GMT 2024

Total time taken to generate the page: 0.04165 seconds