From Symfony to Grails!

Few weeks ago I started learning Grails framework.

For me this is new world but it smells like Symfony sometimes – almost the same approaches with domain (Symfony: model) management, CRUD generator (Symfony: Admin generator) here excites as much as in Symfony.

“Leaving” PHP world for Groovy-Grails-Java was quite hard on start and I still stuck in researches. But I have smart enough guru in the stretched hand distance, please let me introduce Alex, The Grails Guru.

If you are Symfony developer you’d love this framework. You’ll see there similar things you’ve used to use in Symfony:

  • mvc: domain classes + controller classes + view in GSP pages
  • routing: you can define any route rule in a special routing construction
  • configuration: there no any YAML configuration files but .properties files instead
  • partials: are also present in Grails like includes
  • and so on, I can’t remember on a spot. I’ll be adding this list with new features.

BUT started developing Grails applications you’ll get all Java development advantages:

  • Continuous integration development
  • Maven 2, dependencies management (management of so many libraries becomes easiest task)
  • Reliable, useful  and fast IDE IntelliJ IDEA (you can try it for 30 days)
  • Professional TDD (saying the truth, not all PHP developers using it, but in Java world things become better)

On other hand you can try work with Grails on Ubuntu Linux, it is faster then Windows machines.

I’ll be posting my achievements and research results here while learning this amazing tool.

OpenGEO – yet another startup with Symfony

Name is: OpenGeo

Last Saturday 07/26/08 me and my friend decided to create simple online service for Ukrainian market.

Idea was in the follwoing – create free of charge open source database of geographical locations of all IP addresses of Ukraine.
Every visitor has possibility to see his IP address and set his Ukrainial location with help of drop downs.

Possible stakeholders of this service are:

– e-commerce services like auctions, online malls
it would be easy to find goods near to you with it, for example find motorbike in 50km radius.

– social services (social networks)
Also find people near to your location and get in contact

– and so on, connected to location definition

So we decided to start development of this project with Symfony (actually I enforced him to do that 🙂 ).

Two days ago we finished first stage and now project in “locations-collection” stage.

Please take a look on www.opengeo.org.ua

The next step will be development of analysis module and user interface improvements, for example make location tag-cloud instead of select-boxes.

Feel free to say your opinion in comments to this post – it will be very useful!

New Symfony powered Numerology resource (in russian)

Few days ago mу and my friend, Dmitry Savin, have created website for his mom with Symfony framework.

The site is about Numerology and numerology courses (if you understand Russian you can read what this site about, if not – use Google Translator 🙂 )

Please take a look here: http://www.savina.com.ua

It using the following plugins:

  • ddAccessibleFormPlugin
  • sfCompressWebFilesPlugin
  • sfFeed2Plugin
  • sfGuardPlugin
  • sfMediaLibraryPlugin
  • sfNiftyPlugin
  • sfPropelActAsCommentableBehaviorPlugin
  • sfPropelActAsNestedSetBehaviorPlugin
  • sfPropelActAsTaggableBehaviorPlugin
  • sfPrototypePlugin
  • sfSimpleBlogPlugin
  • sfSimpleCMSPlugin
  • sfThumbnailPlugin
  • sfTipOfTheDayPlugin

It looks pretty fine and now it has small community of people that interested in numegology.

I was very happy to help him with development!