Vi Vim as a Full Blown PHP Python Ruby on Rails PERL C C++ IDE

1) First install Linux. I use Ubuntu Linux 10.04 ( Lucid Lynx ). Instructions should be somewhat similar for other Linux Distros .
***The Plugins Pack [See Below] works good on Windows too. you just need to install gVim for Windows then. Below mentioned Instructions work good for Ubuntu Linux 10.04 Lucid Lynx.***

2) Run following to install LAMP with PHP / MySql and Version Control Systems like Mercurial , SVN and GIT .

sudo apt-get -y install vim-gtk lamp-server^ php5-cli ruby python git-core gitosis mercurial subversion phpmyadmin exuberant-ctags build-essential

Eclipse Shortcuts for a PHP Programmer

If you did follow my last few posts mentioned below
1) http://www.technyooz.com/?q=content/eclipse-php-development-tutorial
2) http://www.technyooz.com/?q=content/php-project-eclipse-using-svn
3) http://www.technyooz.com/?q=content/using-iteamwork-project-management

I would like to share a few Tips every PHP Programmer working with Eclipse and PHP should know.

When you setup a PHP SVN Project in Eclipse (Hosted on a Sourceforge SVN Repository) and you need to add few Files or Folders to your Local Eclipse Project which you intend to commit to the Repository later.

Using iTeamWork for Project Management

In my Previous 2 Posts I talked about setting up Eclipse with Zend Server and integrating your Eclipse Project with the Sourceforge SVN repository.

http://www.technyooz.com/?q=content/eclipse-php-development-tutorial
http://www.technyooz.com/?q=content/php-project-eclipse-using-svn

In a Team comprising of 2 or more People you will definitely need some sort of Project Management Software. Lets take a look.
We will be using iTeamWork for Project Management of our 'xyzproject' which we created in my Last 2 Posts.

Go to http://www.iteamwork.com/ and create an Account.

PHP Project in Eclipse using SVN

Repository is a Program that Manages your Project Files.
You can extract the SourceCode from a Repository by 'Checkout' or 'Pull' or you can 'Push' or 'Commit' changes to a Repository.
Repository manages your Source Code or your Program.
Whatever you use , SVN or Mercurial or GIT , the Concept basically remains the same.

1) Creating a SVN Repository on Sourceforge
-------------------------------------------------------------------------------------------------------------
Firstly , Create an Account on Sourceforge
http://sourceforge.net/

On the Sourceforge 'Account' Page,

Eclipse for PHP Development - A Tutorial

I will walk you through setting up PHP Development Environment in Eclipse. You can install just plain 'Eclipse PDT'
but this is my preferred way as It installs all Java Tools too for Desktop and Mobile Android Development.
Also since PHP and Java are mostly similar it wont hurt. So lets start.

1) Installing Java
----------------------------------------------------
You need to install Java first.
Go to ,
http://java.sun.com/javase/downloads/

Click on the First Picture with Java written.
Select your Platform and click Download.

Install JDK once Downloaded.

REngine C++ Game Engine Released !

Just released New Version of REngine. REngine is a 3D Game Engine written in C++ that uses Bullet for Physics and OGRE for Rendering. Nothing Sophisticated :) Its a mere Collection of DLLs,Headers and Libs ;) and adds Lua , FMOD , RakNet and QuickGUI.
Dont Forget to See README.txt.

For your Convenience , Just to Show you How you can be Programming a 3D Game in C++ within 2 Minutes :)

1) Install REngine using the provided Installer.

Compiling Bullet Physics Engine with MinGW Compiler on Windows

http://bulletphysics.org/ Bullet Physics Engine is used from everything from 3D Games to Movies. I Had a Problem Today Compiling it with OGRE 3D Graphics/Game Engine. Some Tweakings to get it working Correctly on Windows with MinGW C++ Compiler.

Obviously , First Download Bullet 2.76 , Then MinGW C++ Compiler http://www.tdragon.net/recentgcc/ ,Then http://www.cmake.org/
Make Sure C:\MinGW\bin is in your PATH.

1)
In 'LINE - 125' in CMakeLists.txt in C:\Bullet 'The Root Folder I mean' , Change to ,

IF (USE_GLUT AND MSVC)

Creating Virtual Hosts on Zend Server CE (Community Edition) on Windows

Its a 2 Step Process I believe. A bit tricky because isnt Documented Straight Forward anywhere

1)Add following Lines at the End of "httpd.conf" File Located at
C:\Program Files\Zend\Apache2\conf\httpd.conf

Note that the First Virtual Host Entry is Compulsory and leave it as it is.
Second , VirtualHost Entry is your Project. You can keep adding VirtualHosts after that.
----------------------------------------------------------------------------------------------------------------------------

NameVirtualHost *:80
<VirtualHost *:80>

Emacs Editor Crash Course and Tutorial

This is a Quick and Complete Tutorial on Emacs and ECB . It will cover all Commands , ECB , SVN and SSH FTP Remote Editing .

Open Emacs First , preferably latest Version.

Run the following Command to install LAMP , Emacs , VersionControl et al,

sudo apt-get install emacs php-elisp html-helper-mode css-mode js2-mode python-elisp ruby-elisp lamp-server^ php5-cli ruby python git-core gitosis mercurial subversion phpmyadmin exuberant-ctags build-essential emacs-goodies-el

------------------------------------------------------------------------------
Tips

Emacs Opening Multiple Files in Different Tabs

Being a Emacs Lover , I liked every Feature including support for PHP,HTML,Ruby and others . Emacs certainly is the Best Programmers IDE out there with integrated SVN,bazaar,GIT and all , awesome search , everything is better than vi ( in my opinion so no holy-wars please ) . But I was wondering what about opening Multiple Files in Different TABS .

Then I found out somewhere that Just Press CTRL Key and Left Click with Mouse and all Open Buffers open up nicely .
Now thats Cool , I like Tabbed browsing this way in Emacs .

Syndicate content