Showing posts with label Coding. Show all posts
Showing posts with label Coding. Show all posts

06 March 2012

Best Way To Implement Basic Version Control While Keeping Important Files In Sync Between Computers

Dropbox
If you're like me and you are using many computers, and even different operating systems, then you will want to know how to keep your important files in sync and safely backed up to the cloud with version control. You can do this all completely free! My basic method is to use Dropbox and Sugarsync to do this, but I will also show you how to use a free cross platform program called Synkron to sync your important files to a USB key for times when you don't have an internet connection.

05 March 2012

How to Configure PHPStorm to Open Php Files in Your Browser in Localhost

How do you get PHPStorm to show your PHP files in your browser by clicking on the little browser icons in the right part of the window or right clicking and opening in your browser. PHPStorm doesn't just do this automatically. You have to configure it, and the configuration is entirely obvious. Here's what you have to do.

I'm assuming you have XAMPP or its equivalent installed and running on your machine. I'm also assuming you dumped your php files in the htdocs directory of XAMPP and that you can view your files in your browser just by typing the address using localhost/yourfile.php. And now you want to be able to open your files from within PHPStorm.

28 January 2012

Cross Platform PHP Development With Or Without An IDE

PHPstorm 3.x
I have a confession. I love a good text editor. At the moment I'm on two platforms: Windows 7 and OS X Lion. I would prefer to use a cross platform solution for web development. That makes most sense. I also love Textmate. But recently I've been flirting with Sublime Text 2, which takes a lot of inspiration from Textmate. But it's cross platform, and pretty awesome.

I'm into PHP development and I've gotten to the point where I need a development tool that can handle proper PHP debugging. I've spent a couple of days reading things on the net and trying various solutions. So far I've checked out Netbeans 7.1, PHPstorm 3.0, Komodo Edit, and Eclipse PTD. I've played with some of these before, but never for a sustained time. All of these IDE's are butt ugly in my opinion. I guess I'm picky. I know, you can get used to ugly coding environments with time. I used to love Windows XP at one time, after all. I'm not going to go into too many details here, but I found that Netbeans 7.1 and Komodo were better than Eclipse. But I think of the IDE's out there for PHP it's hard to beat PHPstorm 3.x. It reminds me of visual studio in a lot of ways, except snappier.