Posts Tagged ‘symfony development’
Interesting symfony plugins: sfSyncContentPlugin
June 21st, 2010
With the amount of plugins published in the symfony site, many great plugins get lost in the maze. With this series of posts, we would like to bring some attention to plugins we use every day or that we think are essential for any symfony developer.
sfSyncContentPlugin
Deploying symfony applications is always a key part of developing and maintaining websites that run on symfony. It is always a recommended practice to do development on a local environment or dedicated development server. It is also recommended to have a QA/staging server that is as close as possible to your production server. Using this well proven method you can spot problems and bugs before everybody else sees or experiences them, you know, those bugs that “only” happen in production, don’t tell me that it never happened to you, I won’t believe you.
Anyway, making changes in a live site is not only not recommended, it should never be done!
When developing and testing symfony applications, a lot of times you need to have a copy of the live data. Or you may have a staging server where you make changes before pushing them to a live site in a production server. symfony already provides a way to deploy code changes to a remote server, but what about uploaded and data files? And database content?
Since we discovered and started using it, we can’t live without thesfSyncContentPlugin plugin by Tom Boutell and Alex Gilbert, also developers ofApostrophe CMS. This plugin helps with all the tasks and needs described above. Using it is quite simple. All you need to do is define your servers in config/properties.ini like this:
[qa] host=qa.example.com port=22 user=user dir=/var/www/mysite [prod] host=www.example.com port=22 user=user dir=/var/www/mysite [staging] host=staging.example.com port=22 user=user dir=/var/www/mysite
Make sure to use SSH keys to authenticate to your remote servers, so you don’t get asked again and again for passwords. Then just run the following symfony tasks:
# Migrate files and DB from development to qa ./symfony project:sync-content frontend dev to qa@qa # Migrate files and DB to production (always make a backup of production before doing this!) ./symfony project:sync-content frontend dev to prod@prod # Migrate files and DB from QA into development ./symfony project:sync-content frontend dev from prod@prod
Files and DB content are copied accordingly, almost magically. It saves so much time, but please make sure you understand and check the order that you apply in the symfony task. With the power this plugin provides, is very easy, by mistake, to overwrite production data, so again, always make a backup!
Tags: plugins, symfony, symfony development, symfony plugins
Posted in symfony, web development | No Comments »
Developing Symfony with Eclipse
June 3rd, 2009
hi i found a great link for symfony developers.
Developing Symfony with Eclipse
The Symfoclipse-Plugin: Currently in Version 1.2.1 this is the first Symfony-Plugin for Eclipse. Some glitches and rough edges but pretty usefull. It allows you to run common commands like freeze, cc and so on for a symfony project. First support for YAML is also available. The plugin is available from: http://noy.cc/symfoclipse
from ,
hiren sejpal
Tags: eclipse, PHP, symfony development, web development
Posted in php development, symfony, web development | 3 Comments »
Upgrade Symfony Projects to 1.1 and 1.2
May 1st, 2009
With your ongoing projects if you want to change the branch of symfony from 1.0 to 1.1 or from 1.1 to 1.2, here are links to describe how
The document on the symfony official site provides the details about what changes made in 1.1 and 1.2 branches, and what to be done to upgrade your projects
[1] Upgrading Projects from 1.0 to 1.1
http://trac.symfony-project.org/browser/branches/1.2/UPGRADE_TO_1_1
[2] Upgrading Projects from 1.1 to 1.2
http://trac.symfony-project.org/browser/branches/1.2/UPGRADE_TO_1_2
Tags: symfony development, symfony version upgrades
Posted in web development | 3 Comments »
some usefule symfony plugins :)
April 30th, 2009
take a quick look at some useful symfony plugins . useful for your symfony project. if any query or change then post comment on it.
- sfSimpleCMSPlugin
- sfGuardPlugin
- sfDoctrinePlugin
- sfPropelActAsNestedSetBehaviorPlugin
- sfMediaLibraryPlugin
- sfSimpleBlogPlugin
- sfSimpleForumPlugin
- sfFeed2Plugin
- sfgWidgetsPlugin
- sfThumbnailPlugin
- sfUJSPlugin
- sfControlPanelPlugin
- sfFormValidationPlugin
- sfMogileFSPlugin
- sfLightboxPlugin
- sfCaptchaPlugin
- sfNiftyPlugin
- sfPrototypeWindowPlugin
- sfPropelLoadbalancerPlugin
- sfSavvyPlugin
- sfYzClientSideValidationPlugin
from ,
sanjay
Tags: plugins, symfony, symfony development, web development
Posted in php development, symfony, web development | 1 Comment »
