PHP emulator

PHP emulator

am 23.09.2007 05:20:06 von Galatorg

Are there any good PHP emulators out there. I hate having to upload
each time I want to check it out.

Re: PHP emulator

am 23.09.2007 05:32:20 von 23s

"Lamer" wrote in message
news:1190517606.908047.144650@d55g2000hsg.googlegroups.com.. .
> Are there any good PHP emulators out there. I hate having to upload
> each time I want to check it out.
>

Why would you need an emulator?

Just install Apache/PHP on your local machine... They're free.

Re: PHP emulator

am 23.09.2007 10:41:05 von petersprc

If you edit remotely using webdrive (which maps your site to a virtual
drive), WebDAV, or an editor that supports remote editing like
EditPlus, your edits will take effect as soon as you save the file. No
manual upload step needed.

On Sep 22, 10:20 pm, Lamer wrote:
> Are there any good PHP emulators out there. I hate having to upload
> each time I want to check it out.

Re: PHP emulator

am 23.09.2007 14:02:05 von Shelly

"petersprc" wrote in message
news:1190536865.416080.183310@n39g2000hsh.googlegroups.com.. .
> If you edit remotely using webdrive (which maps your site to a virtual
> drive), WebDAV, or an editor that supports remote editing like
> EditPlus, your edits will take effect as soon as you save the file. No
> manual upload step needed.
>
> On Sep 22, 10:20 pm, Lamer wrote:
>> Are there any good PHP emulators out there. I hate having to upload
>> each time I want to check it out.

I use Dreamweaver and it has that option. I ***NEVER** use it, and do so by
choice. Often I have to work on a live system and changes have to be made
to several files at once. On a live system, you have a broken site until
all are in place. If all the editing is done locally, and then uploaded at
once, then the downtime is milliseconds.

Also, I like having a local copy of my work. I can't tell you how often it
has happened that a co-worker (or I) have screwed up a file and and got the
original back from the me or the (other worker). Maybe I am a control freak
when it comes to code, but I like the security of having to upload rather
than it being done automagically for me. It gives me time to think "maybe I
should make a local copy before I put this out on line". A small price to
pay for safety.

Shelly

Re: PHP emulator

am 23.09.2007 15:21:18 von shimmyshack

On Sep 23, 1:02 pm, "Shelly" wrote:
> "petersprc" wrote in message
>
> news:1190536865.416080.183310@n39g2000hsh.googlegroups.com.. .
>
> > If you edit remotely using webdrive (which maps your site to a virtual
> > drive), WebDAV, or an editor that supports remote editing like
> > EditPlus, your edits will take effect as soon as you save the file. No
> > manual upload step needed.
>
> > On Sep 22, 10:20 pm, Lamer wrote:
> >> Are there any good PHP emulators out there. I hate having to upload
> >> each time I want to check it out.
>
> I use Dreamweaver and it has that option. I ***NEVER** use it, and do so by
> choice. Often I have to work on a live system and changes have to be made
> to several files at once. On a live system, you have a broken site until
> all are in place. If all the editing is done locally, and then uploaded at
> once, then the downtime is milliseconds.
>
> Also, I like having a local copy of my work. I can't tell you how often it
> has happened that a co-worker (or I) have screwed up a file and and got the
> original back from the me or the (other worker). Maybe I am a control freak
> when it comes to code, but I like the security of having to upload rather
> than it being done automagically for me. It gives me time to think "maybe I
> should make a local copy before I put this out on line". A small price to
> pay for safety.
>
> Shelly

Shelly check out tortoise SVN - it is free and open source even for
windows, and will stop you or anyone else screwing up files, even if
you all edit it at the same, it allows you to step back not just
through versions of a file, but through versions of your entire code
base, while allowing strict security control, and multiple users, you
can edit files offline while on the train, at work, and then at home,
and commit whenever you have an internet connection, and synchronise
is all places. Oh and it integrates with windows explorer to allow
simple right click commit and updates. FTP is all very well, but it
doesnt work with multiple users without some kind of complicated and
fake "locking" mechanism by dreamweaver and so on...

Re: PHP emulator

am 23.09.2007 15:42:18 von Doan Noahlot

Lamer wrote:
> Are there any good PHP emulators out there. I hate having to upload
> each time I want to check it out.
>

....or ssh to the server and edit in place, directly,
with vi, emacs or what ever. Server isn't unix?
Then install cygwin on the server.
Then you can also run subversion, cvs or rcs,
and have access to all previous edits.

Re: PHP emulator

am 24.09.2007 00:13:30 von Brendan Gillatt

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Doan Noahlot wrote:
> Lamer wrote:
>> Are there any good PHP emulators out there. I hate having to upload
>> each time I want to check it out.
>>
>
> ...or ssh to the server and edit in place, directly,
> with vi, emacs or what ever. Server isn't unix?
> Then install cygwin on the server.
> Then you can also run subversion, cvs or rcs,
> and have access to all previous edits.
>

Arggghh, the thought of going back to vi or emacs for development! It's
a nice idea in principle but I like my GUI and I don't really want to
use windows as a rather more expensive and resource hungry version of DOS

- --
Brendan Gillatt
brendan {at} brendangillatt {dot} co {dot} uk
http://www.brendangillatt.co.uk
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFG9uUKkA9dCbrNdDMRAsjOAJ0S6VqBkXM3kMEhYPIUdTQGjnkyaACg xiU+
jQ7sZ9Vgl2v8naX2XhvNipU=
=L+T/
-----END PGP SIGNATURE-----

Re: PHP emulator

am 24.09.2007 00:40:46 von Doan Noahlot

Fair enough.
The only thing that really makes sense is to mirror the
server environment on your desktop. I like to use Netbeans
for Java. I have an old Zend for php. Can't say I like it much.
I'll have to suck it up and get eclipse/php going.
Last time I looked it was still in beta.

QUESTION:
Does it make any sense to use php on a windows server?
I mean it might be better than asp/.net (which I don't
know about). But why *would* a person code in php on
a windows machine, when they could do it on a linux box,
which is sooooo much more convenient, it seems to me.
(ssh, perl, python, version control, cron, etc).

I'm not trying to insult or start a war, I'm just
curious. Why run php on a windows server *rather* than
linux? I'm perfectly willing to believe there is a
good reason. I just can't imagine what it is.

Re: PHP emulator

am 24.09.2007 01:05:58 von Jerry Stuckle

Doan Noahlot wrote:
>
> Fair enough.
> The only thing that really makes sense is to mirror the
> server environment on your desktop. I like to use Netbeans
> for Java. I have an old Zend for php. Can't say I like it much.
> I'll have to suck it up and get eclipse/php going.
> Last time I looked it was still in beta.
>
> QUESTION:
> Does it make any sense to use php on a windows server?
> I mean it might be better than asp/.net (which I don't
> know about). But why *would* a person code in php on
> a windows machine, when they could do it on a linux box,
> which is sooooo much more convenient, it seems to me.
> (ssh, perl, python, version control, cron, etc).
>
> I'm not trying to insult or start a war, I'm just
> curious. Why run php on a windows server *rather* than
> linux? I'm perfectly willing to believe there is a
> good reason. I just can't imagine what it is.

Sure, I run it on a Windows box for a lot of reasons.

For instance, one of my sites is mostly VBScript/ASP, so it needs Windows. But
they wanted some other things (like blogs) which are more readily available in
PHP. Additionally, I'm working on a project right now where I need to post data
to another site. This is easy with PHP AND CURL; much more difficult in
VBScript/ASP. So sometimes I'm passing stuff from a VBScript page to a PHP
page, and vice versa. Maybe eventually we'll get it all PHP.

And I run it at home because I duplicate environments. I've got both IIS and
Apache on this system; I just start whichever one I need at the time.

Plus I use this machine for things in another business where I pretty much need
some MS products to work with customers there.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: PHP emulator

am 24.09.2007 08:42:35 von Courtney

Brendan Gillatt wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Doan Noahlot wrote:
>> Lamer wrote:
>>> Are there any good PHP emulators out there. I hate having to upload
>>> each time I want to check it out.
>>>
>> ...or ssh to the server and edit in place, directly,
>> with vi, emacs or what ever. Server isn't unix?
>> Then install cygwin on the server.
>> Then you can also run subversion, cvs or rcs,
>> and have access to all previous edits.
>>
>
> Arggghh, the thought of going back to vi or emacs for development!

...would mean that people thought a lot more before they put finger to
keyboard.

Arguably no bad thing...

>It's
> a nice idea in principle but I like my GUI and I don't really want to
> use windows as a rather more expensive and resource hungry version of DOS

Never mind what you want, that is after all pretty much what it IS
anyway..;-)

>

Re: PHP emulator

am 24.09.2007 09:05:39 von nc

On Sep 23, 3:40 pm, Doan Noahlot wrote:
>
> QUESTION:
> Does it make any sense to use php on a windows server?

Of course it does. :)

> I mean it might be better than asp/.net (which I don't
> know about). But why *would* a person code in php on
> a windows machine, when they could do it on a linux box,

Because the person in question may also need to code in a .Net
language or Delphi. Or because they need to make their PHP
application work with something that is only available through the use
of COM objects (which could be anything from Crystal Reports to
QuickBooks).

> I'm not trying to insult or start a war, I'm just
> curious. Why run php on a windows server *rather* than
> linux? I'm perfectly willing to believe there is a
> good reason. I just can't imagine what it is.

Integration with third-party products not available for Linux.

Cheers,
NC

Re: PHP emulator

am 24.09.2007 17:55:20 von Brendan Gillatt

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Doan Noahlot wrote:
>
> Fair enough.
> The only thing that really makes sense is to mirror the
> server environment on your desktop. I like to use Netbeans
> for Java. I have an old Zend for php. Can't say I like it much.
> I'll have to suck it up and get eclipse/php going.
> Last time I looked it was still in beta.
>
> QUESTION:
> Does it make any sense to use php on a windows server?
> I mean it might be better than asp/.net (which I don't
> know about). But why *would* a person code in php on
> a windows machine, when they could do it on a linux box,
> which is sooooo much more convenient, it seems to me.
> (ssh, perl, python, version control, cron, etc).
>
> I'm not trying to insult or start a war, I'm just
> curious. Why run php on a windows server *rather* than
> linux? I'm perfectly willing to believe there is a
> good reason. I just can't imagine what it is.

I see your point in that - I would much rather develop in either an
entirely *nix or entirely windows environment. I just happen to run a
windows box for everything else I do and it just so happens that (at
this moment in time) linux hosting is cheaper than windows.

If I could afford it, I would buy up a dedicated server for myself, set
up an X11 server and basically run my entire computing from that, using
any old computer I have access to simply as a dumb terminal. *dreams on*

You can get all of those services you listed above running with windows
(if you can call scheduled tasks nearly as good as cron).

Ideally, and I know this isn't always true, code written in PHP _should_
be cross-platform.

- --
Brendan Gillatt
brendan {at} brendangillatt {dot} co {dot} uk
http://www.brendangillatt.co.uk
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD4DBQFG993okA9dCbrNdDMRAsm0AKCFo1e43kXvFLZTP9u9I3TBGBZ9NwCV HQkW
Rmjpu8syJHHWvxe2ijn5+w==
=y/hv
-----END PGP SIGNATURE-----