Tag Archives: Eclipse

Opening .ctp file with Syntax Highlight in Eclipse

The view file in CakePHP is with .ctp extension. By default, Eclipse does not know which editor should be used to open this kind of file. If you associate it with PHP Editor in Preference -> General -> File Association, you will find there is no syntax highlight in the editor.

Here comes to the solution.
Continue reading Opening .ctp file with Syntax Highlight in Eclipse

Tapestry – Create a Tapestry Project in Maven

After creating all the entity beans in the backend project. it’s time to move on to the frontend stuff. First, we need to decide what Java frontend framework is used in our project. so i take the chance to learn Tapestry.

With Maven, we can make use of the Archetype as a project template to start our first Tapestry project. This post shows u how to make start your first Tapestry project in Eclipse with m2eclipse installed.
Continue reading Tapestry – Create a Tapestry Project in Maven