Developer Blogs for dotCMS Java CMS

dotCMS developer blog and tutorials on the worlds leading Open Source Java Content Management System (CMS).

dotCMS and the Scripting Worlds Collide 08.17.2009 | Jason Tesser

Have you ever worked within a CMS and thought to yourself, “I wish I could knock out a script in something I'm more familiar with?" If so, you're going to love the new dotCMS Scripting plugin. This plugin allows you to execute server side code directly from Velocity in these popular scripting languages: Ruby, Python, Groovy and Javascript. You can declare variables in your velocity code and use them within your scripting language. You can call methods or functions in your script (from Velocity). Best of all, you can access any dotCMS Java class directly from your php/ruby/js/python/groovy scripts.
Read full post

You Asked for it, You got it, PHP in dotCMS 08.09.2009 | Jason Tesser

There have been previous attempts to integrate PHP with dotCMS. The most difficult hurdle was figuring out how to get PHP files to live within the dotCMS browser tree and have all INCLUDES and REQUIRES work properly, which is key to running any PHP app in dotCMS. While the original effort to integrate PHP into dotCMS eventually lost steam, interest in a PHP+dotCMS solution remained strong.  The good news is that with our new Scripting Plugin, we took a little different approach to integrating PHP with dotCMS and in doing so, solved the issues that originally stopped us.
Read full post