Online Sandbox

Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")

Moderator: General Moderators

Post Reply
Skyhigh
Forum Newbie
Posts: 2
Joined: Tue Oct 09, 2007 7:48 am

Online Sandbox

Post by Skyhigh »

Ok, so not exactly object mocking, unit testing or similar....but...

Does anyone know of an online PHP sandbox or compiler, whereby I can enter the php code in one area/box, and it runs in another area (or window).

Why?
Well I'd like to test some php idea's while on my lunch break, but we've not got access to external FTP, so I can't FTP the php to my server, nor can we have apache/php installed on our development machines [its all strict .NET].

So I'm looking for somewhere to test run some PHP online.

I've Googled for a while with many different terms:
php sandbox, php online sandbox, php online compiler, php online testing, php test sandbox, etc, etc, etc
with no luck.
[I actually found one page that offered what I was looking for, but it has since moved....and removed the online php sandbox from the site]


Thanks,


:!:
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

None that I know of. I remember a user a posted a link to his sandbox a couple months back and it took only a few hours before his site was vandalized (to demonstrate the security vulnerability of having a public sandbox)
jamiel
Forum Contributor
Posts: 276
Joined: Wed Feb 22, 2006 5:17 am
Location: London, United Kingdom

Post by jamiel »

The Zend Debugger and it's integration into the IDE offers similar features to what you are looking for.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Using MicroApache, you can set up a portable LAMP setup that doesn't require any installation and can be turned on and off as necessary. PortableApps also has something similar.
wei
Forum Contributor
Posts: 140
Joined: Wed Jul 12, 2006 12:18 am

Post by wei »

How about using VMWare, there are plenty of existing PHP installation images available. E.g., one that I made earlier http://xlab6.com/prado-php5-vmware-image/
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

Uniform Server requires no installation, it just unzips and runs. I use it all the time to develop locally. Comes with everything you need.

http://www.uniformserver.com
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

Didn't know uniformserver. Here's one I have used
webserver on a stick
http://www.chsoftware.net/en/useware/wos/wos.htm

Just take your lamp with you on a usb stick, perfect also for presentations (as a backup plan in case there's no internet and you need to show a website/webapp)
Skyhigh
Forum Newbie
Posts: 2
Joined: Tue Oct 09, 2007 7:48 am

Post by Skyhigh »

Wow, a huge amount of variations, thanks for the responses guys.

I did consider the securiy issues with an online public PHP sandbox and can see why it would be a problem (plus prone not only to user mistakes, but as previously highlighted, attacks/vandalism).

Time to try a few out :)


:!:
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

You can download web page-based FTP clients and upload/download managers to manage files on your own hosting account simply through a web page. I used to do this when I worked at EDS before I figured out how to install PHP, MySQL and Apache to run off a USB drive ;)
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

Kieran Huggins wrote:Uniform Server requires no installation, it just unzips and runs. I use it all the time to develop locally. Comes with everything you need.

http://www.uniformserver.com
Wow this looks cool. Shame about the website though, if I had stumbled across this I would have left before realising what it did.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

You should have seen the old website.. it looked like it had been written in word '97 by a blind hobo!
Post Reply