4 Tutorials On Choose The Best IDE For CakePhp Development

1. HOWTO Setup Eclipse 3.6 to get the most out of CakePHP 1.3 Development

This article explains step-by-step on how to setup your CakePHP dev environment to get the most out of open source tooling.
There are lots of great resources out there for developing CakePHP apps in eclipse – but they are outdated and scattered. I took the time tonight to setup my environment, so I figured I’d blog about it. Below are the steps I took to get thinks as I like ’em. I run Ubuntu 10.10 64bit, but these directions should apply to any OS. This requires you have CakePHP 1.3.X extracted someplace on your box.

2. CakePHP Development with PhpED

n this tutorial you will learn how to use NuSphere’s PHP IDE to develop PHP applications using CakePHP – rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying PHP applications. Please note that the purpose of this tutorial is not to teach you how to program with CakePHP but rather to show you how to setup and use the features of PhpED to program CakePHP applications fast and easy. We will be using CakePHP’s 15 minutes blog tutorial as the basis for our study.

3. CakePHP support in NetBeans

NetBeans is a very powerful development environment for many languages including PHP. With the release of its latest version, NetBeans announced full support for symfony PHP framework. NetBeans can also support many other PHP frameworks and libraries although it is not officially supported by NetBeans. This support needs some effort to enable some tools specially auto-complete, or intellisense, which saves a lot of time for developers.

4. Using CakePHP with your IDE

In this tutorial we’ll show you how to set up syntax highlighting for .thtml and .ctp files.

CakePHP and Eclipse

To set up your version of Eclipse to read either file type, follow these steps:

  • Go to Window > Preferences > General > Content types
  • In the content types window navigate the tree to text > PHP content type
  • Click add
  • Enter *.ctp or *.thtml depending on what version of CakePHP you use. It might be best to add both – just in case.
  • Now navigate to Editors > File Associations
  • Enter *.ctp or *.thtml depending on what version of CakePHP you use.
  • Under “Associated Editors:”, select the PHP Editor and click Default.

CakePHP and Dreamweaver

  • Go to your Dreamweaver installation folder (let’s assume this is C:Program FilesAdobeAdobe Dreamweaver CS3)
  • Open the configuration folder
  • Edit extensions.txt and modify the first line so THTML and CTP are present (comma seperated. It should look something like this: ,MASTER,THTML,CTP:All Documents
  • Edit the PHP files line in the same way. It should look like this: PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files
  • Now browse to the DocumentTypes folder and open MMDocumentTypes.xml.
  • Do a ctrl-f search for “winfileextension” and modify the line to look like this: winfileextension=”php,php3,php4,php5,thtml,ctp”
  • Do the same for “macfileextension”: macfileextension=”php,php3,php4,php5,thtml,ctp”
  • Now go to your “Document and Settings” folder (found under your username e.g. “C:Documents and SettingsYour User NameApplication DataAdobeDreamweaver 9Configuration”
  • Edit “Extensions.txt” and add the same lines you added to the other extensions file.

Using CakePHP with Aptana

  • From the Window menu, select Preferences…, and then choose General > Editors > File Associations.
  • Add the appropriate file type.
  • Next to the File Types list, click the Add button.
  • In the New File Type pop-up window, type the appropriate file extension (e.g. “.ctp” or “.thtml”).
  • Click OK to add the New File Type to the List.
  • Associate the new file type with Aptana.
  • On the File Types list, select the file type that you just added.
  • Next to the Editor Associations list, click the Add button.
  • On the Editor Selection pop-up window, select the editor that you want to associate with your file type.
  • Click OK to add the editor.
  • The new is now associated with the specified file type.
  • Click OK to apply your changes and close the Preferences window.

CakePHP with gEdit or other Linux editors

Edit the /etc/mime.types file to point .ctp or .thtml files to the relevant editor you are using.

— UPDATE

5. CakePHP plug-in With CodeLobster

Starting developing on PHP, probably you often face the problem which IDE to choose for Windows OS. Whereas most companies sell it at high price (100-500$), we offer multifunctional portable IDE FREE absolutely with all standard features:
PHP/HTML/CSS/JavaScript highlighting, advanced PHP/HTML/CSS/JavaScript autocomplete, Powerful PHP debugger, SQL autocomplete, Context and Dynamic Help and much more…
Supported Cms & Php Frameworks: WordPress, Joomla, Drupal, CakePhp, CodeIgniter, Facebook, Smarty

share it
Facebook
Twitter
LinkedIn
Reddit

4 Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts
The Ultimate Guide to Delta for iPhone: Relive Retro Gaming Glory
The Ultimate World of Warcraft Leveling Guide
Overwatch Boost – What Are You Up To?
Fifteen Baseball Stars Still Looking Up At The Mendoza Line In 2018
NHL Division Standings Analysis 2017-2018
Why Playing Online Games Is Beneficial
Popular Categories
Get free tips and resources right in your inbox, along with 10,000+ others
Subscription Form

Related Article
Sign up our newsletter to get update information, news and free insight.
Subscription Form