Posts Tagged ‘plugins’

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!

some useful wordpress plugins

September 2nd, 2009

here is the list of some useful wordpress plugins. i hope  everyone like tht

Advanced Tagline

Advanced Tagline gives the option to have multiple taglines for your blog and display them at random or sequentially with each page view.

Sodahead Polls

Want to create a poll for your readers and see live results? Bloggers use polls more than any other interactive application to engage their readers. Create an engaging experience for your audience today and keep them coming back for more.

Minimum Comment Length

Don’t you find it annoying when someone comments with just a smiley? Or a “thanks”? On quite a few forums you have to leave a comment with a minimum of 15 characters to be able to comment, but WordPress doesn’t allow you to set such a threshold. With this plugin, it does.

Blogging Tips

This plugin displays random blogging tips and suggestions. The tips are just some ideas of what you can do to improve the popularity of your blog and improve the content.  All of the tips are designed to inspire you to be a better blogger.

Gravatar Recent Comments

Gravatar recent comments is a plugin providing you with a “Top/last commenters” widget but instead of just displaying names, it also displays gravatars.

Theme Authenticity Checker

Scan all of your theme files for potentially malicious or unwanted code. Be aware of advertisements or dangerous JavaScript inserted into legitimate themes by third party theme download sites.

List Category Posts

List Category Posts is a simple WordPress plugin which allows you to list some posts from a category into a post/page using [catlist=ID], where ID stands for the Category Id.

Expanding Text Plugin

This WordPress plugin allows you to create sections of text in your post or page which expand/collapse when clicked on. You simply wrap the special tags around your text, and set the ‘expand link’ (the link visitors click on to show the text).

Actionable

Actionable allows the creation of a categroized list of action items for users to check off and track. It was originally developed for Share 350.0 – a plan for regional sustainability to help people track their actions and efforts to create a sustainable community.

Lightbox Plus

Lightbox Plus is used to create overlay display images on the webpage and to automatically add the correct overlay links to images. Lightbox Plus captures the image title for display using a fairly robust regex to capture most character that may appear as part of the title.

original blog from  http://www.blogohblog.com/10-new-useful-wordpress-plugins/

from,

kiran

some useful symfony plugins

May 12th, 2009

here is the some useful symfony plugin list for symfony developers.

sfDynamicsPlugin

Manage javascripts/stylesheets libraries as coherent packages, dependencies, packing, caching and supercaching. JS framework independant. No magic included.

sfLanguageSwitchPlugin

This plugin gives you a component to include a simple language switcher. It holds the current URL and changes the sf_culture parameter.

ysfDimensionsPlugin

This plugin gives you a component to include a simple language switcher. It holds the current URL and changes the sf_culture parameter.

i18nTranslatePlugin

attempt to translate your sentences using Google AJAX Language API

sfKsnNewsPlugin

Main features includes: * multilanguage support (the same news item in different languages) * frontend (AJAX or form-based) administration * backend administration * lastest news block component and helper * autogeneration of news item annotation * fully customizable to suit your needs * news item files managment * nested news categories * RSS feed

hope tht you liked it.

thank you,

kiran vadariya

some usefule symfony plugins :)