Archive for the ‘symfony’ Category

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!

Once Again SENSIO LABS comes with great things for developers [STAND ALONE COMPONENTS FOR PHP]

October 31st, 2009

Symfony Components are stand alone php libraries that can be handy in the development of php. Those are earlier coupled with the symfony and now available separately from the symfony package.

Just have look at those
YAML : PHP library that speaks yaml. YAML framework is the php library which take yaml as string and convert in to php array. All in all it is great product if you want to use it in any of your php project.
it is open source and available at YAML Component of Symfony

Templating : Which is templating engine, that you can use in any of your php project. It is the templating tool which you can use in any kind of templating system. Available at Templating System

And some other components available like EVENT DISPATCHER, DEPENDENCY INJECTION

And Request Handler The flexible micro-kernel for fast frameworks is coming sooner. have a look at
Symfony Components

All in all if you are now interested in symfony’s some of the features to implement only. THIS IS THE BEST OF COMPONENTS YOU CAN TRUST. AND YET NOT REQUIRED TO USE THE SYMFONY. It shows the robustness of symfony projects.

Have a look at the new Symfony 1.3 Alpha && its features

October 24th, 2009

Here are some of the advantages of SYMFONY Framework..

* Compatible with as many environments as possible
* Easy to install and configure
* Simple to learn
* Enterprise ready
* Convention rather than configuration, supporting fallback calls
* Simple in most cases, but still flexible enough to adapt to complex cases
* Most common web features included
* Compliant with most of the web “bests pratices” and with web “design patterns”
* Very readable code with easy maintenance
* Open-Source

Check it out the new Alpha Symfony 1.3 with new features… SYMFONY 1.3

  • WHAT’S NEW IN SYMFONY 1.3

This alpha version will be the next stable release, is not suitable for production use. You can follow its development use by having a look at the Whats new in Symfony 1.3 even if you are willing to explore the .pdf then please click here.

  • Upgrading projects from Symfony 1.2 to Symfony 1.3

To upgrade your 1.2 project to a newer version of Symfony 1.3, you will find all the steps and other information through this.. please   Click here This document describes the changes made in symfony 1.3 and what need to be done to upgrade your symfony 1.2 projects. And If you want more detailed information on what has been changed/added in symfony 1.3, you can read the What’s new? tutorial.

  • Deprecations and removals in 1.3

Here are some of the deprecations and removals in newer version of symfony 1.3.To find the lists of all settings, classes, methods, functions, and tasks that have been deprecated or removed in symfony 1.3 please Click here

You can find the installation for the symfony 1.3 here Installation

And for the first time user don’t bother here you can have basic installation Getting Started

Here are some of the important links through which you can direct download the source for Symfony 1.3

symfony 1.2 features

July 31st, 2009

hi, we all knows tht symfony 1.2 is released . today i want to write about some symfony 1.2 features.

Features

The admin generator will be rewritten from scratch to leverage the new form framework. The main goal is to provide a more customizable and a more flexible admin generator.

The Propel plugin and the Doctrine plugin will be bundled with symfony 1.2. So, as of symfony 1.2, the core team will officially support Doctrine as a first class citizen.

The development of secure applications has always been quite easy with symfony thanks to the use of the ORM, the output escaper, and the CSRF protection. Symfony 1.2 will go one step further by providing native input filtering. We will base this feature on the new filter extension bundled with PHP 5.2.

The framework must simplify the life of the developer on repetitive and boring activities. As most applications send emails, the Swift library, one of the most feature-full and flexible solution for sending emails in PHP, will be integrated into the core.

The JavaScript world evolves very quickly, with lot of great frameworks available (prototype, jQuery, Dojo, mootools, and YUI). all the JavaScript stuff available into a plugin.
The project:deploy task was just a proof of concept. So, it is time to start a discussion on the features we need for a proper deployment task.

The routing is now cached, so you can expect a significant performance boost when you got plenty of routes in your app. Also, the routing class is no more a singleton so you can now extend and reference it easily to fit your needs,

you can download symfony 1.1 from below given  links .

sf_sandbox_1_1.tgz

sf_sandbox_1_1.zip

    you can upgrade your existing symfony project into symfony1.2.

    Now symfony with netbeans also

    July 9th, 2009

    Last week, the NetBeans team announced that the next version of their IDE (6.8) will have native support for symfony! That’s a great news for all of us. They have a dedicated page in their Wiki about symfony support in NetBeans, and the NetBeans 6.8 nightly builds already have some basic support for symfony, like the ability to run a task. To learn more, read Tomas Mysik’s blog post about what is already available. That’s exiting, and I think we need to help them building a great IDE for symfony. I highly encourage you to download a 6.8 build, test it with your own projects, and give them feedback.

    content from.. http://www.symfony-project.org/blog/2009/07/08/symfony-support-in-netbeans-6-8

    Vote For Symfony

    July 8th, 2009

    You can vote! With over 47,000 nominations, the community has chosen 85 finalists in 12 categories. Take a look at our finalists and pick your favorites, or maybe even discover something useful you hadn’t heard of before. we are going to vote for symfony .

    why we are going to vote for SYMFONY ?

    chk this link if you want to know about symfony http://www.symfony-project.org/

    it show why we r going to vote symfony a best web development tool ever .

    Vote For Symfony. go to this link. :)
    http://sourceforge.net/community/cca09/vote/?f=392

    from,

    jasmin patel

    http://www.symfony-project.org/

    symfony 2.0

    July 6th, 2009

    hello readers,

    today i w’ll tell you about symfony 2.0  upcoming version of symfony after sucess of symfony 1.0 and 1.2,

    One thing is very intersting in symfony 2.0 is it’s  more faster then old versions.

    also many features updated and change in controlorrs and many more …

    if you want to  know more about symfony 2.0 then  click here

    enjoy,

    kiran :)

    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 :)

    Symfony

    May 25th, 2009

    A framework streamlines application development by automating many of the patterns employed for a given purpose. A framework also adds structure to the code, prompting the developer to write better, more readable, and more maintainable code. Ultimately, a framework makes programming easier, since it packages complex operations into simple statements.

    Symfony is a complete framework designed to optimize the development of web applications by way of several key features. For starters, it separates a web application’s business rules, server logic, and presentation views. It contains numerous tools and classes aimed at shortening the development time of a complex web application. Additionally, it automates common tasks so that the developer can focus entirely on the specifics of an application. The end result of these advantages means there is no need to reinvent the wheel every time a new web application is built!

    Symfony was written entirely in PHP 5. It has been thoroughly tested in various real-world projects, and is actually in use for high-demand e-business websites. It is compatible with most of the available databases engines, including MySQL, PostgreSQL, Oracle, and Microsoft SQL Server. It runs on *nix and Windows platforms. Let’s begin with a closer look at its features.

    original blog from :  Symfony

    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