PHP emulator

12 views
Skip to first unread message

Lamer

unread,
Sep 22, 2007, 11:20:06 PM9/22/07
to
Are there any good PHP emulators out there. I hate having to upload
each time I want to check it out.

asdf

unread,
Sep 22, 2007, 11:32:20 PM9/22/07
to

"Lamer" <Gala...@gmail.com> wrote in message
news:1190517606.9...@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.


petersprc

unread,
Sep 23, 2007, 4:41:05 AM9/23/07
to
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.

Shelly

unread,
Sep 23, 2007, 8:02:05 AM9/23/07
to

"petersprc" <pete...@gmail.com> wrote in message
news:1190536865.4...@n39g2000hsh.googlegroups.com...

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


shimmyshack

unread,
Sep 23, 2007, 9:21:18 AM9/23/07
to
On Sep 23, 1:02 pm, "Shelly" <sheldonlg.n...@asap-consult.com> wrote:
> "petersprc" <peters...@gmail.com> wrote in message

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...

Doan Noahlot

unread,
Sep 23, 2007, 9:42:18 AM9/23/07
to
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.

Brendan Gillatt

unread,
Sep 23, 2007, 6:13:30 PM9/23/07
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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)

iD8DBQFG9uUKkA9dCbrNdDMRAsjOAJ0S6VqBkXM3kMEhYPIUdTQGjnkyaACgxiU+
jQ7sZ9Vgl2v8naX2XhvNipU=
=L+T/
-----END PGP SIGNATURE-----

Doan Noahlot

unread,
Sep 23, 2007, 6:40:46 PM9/23/07
to

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.

Jerry Stuckle

unread,
Sep 23, 2007, 7:05:58 PM9/23/07
to

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.
jstu...@attglobal.net
==================

The Natural Philosopher

unread,
Sep 24, 2007, 2:42:35 AM9/24/07
to
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..;-)

>

NC

unread,
Sep 24, 2007, 3:05:39 AM9/24/07
to
On Sep 23, 3:40 pm, Doan Noahlot <doannoah...@dis.org> 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

Brendan Gillatt

unread,
Sep 24, 2007, 11:55:20 AM9/24/07
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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)

iD4DBQFG993okA9dCbrNdDMRAsm0AKCFo1e43kXvFLZTP9u9I3TBGBZ9NwCVHQkW
Rmjpu8syJHHWvxe2ijn5+w==
=y/hv
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages