Tuesday, January 20, 2009

A week of symfony #106 (5-11 january 2009)

A new year means new symfony versions and therefore, this week symfony developers started committing changesets to 1.3 branch. In addition, the winner of the Jobeet design contest was announced and symfony 1.2.2 was released.
Development mailing list
Discussions about symfony 1.2 admin generator partial feeds and sfForm vs Factories.yml
Development highlights
r14468, r14469: [1.0, 1.1] backported fix from #2240 to 1.0 and 1.1 after having it tested in 1.2 version
r14481: [1.1] fixed autoloading for PHP 5.1.2
r14483, r14484: [1.1, 1.2] fixed unfinished ob_start in sfValidatorFile
r14485: [1.2] fixed form and view_cache tester are not overridable
r14486: [1.2] fixed sfTesterUser inability to test attribute for namespaces
r14507: [1.2] fixed uppercase POST/GET are not XHTML valid
r14511: [1.2] fixed generate:app and escaping-strategy
r14515: [1.2] silenced possible warning
r14516: [1.2] fixed multiple selector chaining in sfDomCssSelector.class
r14518: [1.2] added cast of generate:app escaping strategy to boolean
r14523: [1.2] publish-assets now canonicalizes pathes before creating the links, thus allowing "\.." and "\."
r14561: [1.3] Created symfony 1.3 doc branch from symfony 1.2.2
Milestone 1.2.2 completed
r14591: [1.3] implemented ArrayAccess interface for sfUser attributes
r14592: [1.3] implemented ArrayAccess interface for sfRequest parameters
r14593: [1.3] added accessor for request content
r14594: [1.3] added accessor for request options + added to web debug bar
r14596: [1.3] made web asset (js, css, image) paths customizable
r14599: [1.3] tweaked cache reload url in web debug bar (to maintain environment)
r14600: [1.3] added accessor for logger options + set dispatcher
r14601: [1.3] added php error handling when using web debug logger (partially reverted)
r14602: [1.3] added better logging for sfBasicSecurityFilter
r14619: [1.3] added upgrade structure for 1.3
sfDoctrinePlugin:
r14466: [1.2] fixed issue with sfDoctrineFormFilter::processValues
r14470: [1.2] corrected fix for resetting filters
r14472: [1.2] fixed issue where i18n doesn't fall back to default culture
r14498: [1.2] adding coverage for ticket
r14499: [1.2] form filters now perform a stricter check
r14500: [1.2] fixed issue where filter functions for fields are not camelized
r14501: [1.2] fixed sfDoctrineRoute to return object instead of null
r14510: [1.2] fixed lingering uppercase method attribute
r14512: [1.2] admin generator resets default filter values correctly
r14550: [1.2] fixed error when uploading files for embedded forms
r14597: [1.3] fixed ability to disable admin generator css by setting false
sfPropelPlugin:
r14470: [1.2] corrected fix for resetting filters
r14480: [1.2] updated bg translations of the admin generator
r14499: [1.2] form filters now perform a stricter check
r14509: [1.2] fixed the way propel handles batch deletions to notify deletion behaviours
r14512: [1.2] admin generator resets default filter values correctly
r14597: [1.3] fixed ability to disable admin generator css by setting false
Updated dwhittle branch
...and many other changes
Development digest: 170 changesets, 39 defects created, 54 defects closed, 6 enhancements created, 14 enhancements closed, 20 documentation defects created, 31 documentation defects closed and 23 documentation edits.
Book and documentation
Updated How to use FCK editor page
Published spanish, italian and vietnamese translations of Jobeet tutorial
Published some vietnamese translations of cookbook tutorials: Quản lý giỏ hàng với plugin sfShoppingCart, Thay đổi cấu trúc thư mục mặc định and Dùng Doctrine để lấy dữ liệu
Wiki
New Job Postings:
Symfony Developer for various plugins and projects - freelance, based in Berlin or Leipzig, Germany - Contact: info [at] mahono [dot] com
Symfony Developer @ Cortica - half or full-time based in MATAM, Haifa (Israel) - Contact: koby [at] cortica [dot] com
New developers for hire:
Boxlight Media Ltd: London based new media agency specializing in enterprise web application development and e-mail marketing strategies who are actively using symfony as their preferred and recommended application development framework.
New symfony blogger:
Lapin Blanc (feed)
gestadieu.blogspot.com (feed)
Plugins
New plugins
sfTidyPlugin: provides automated code repair (ex. users input from TinyMCE or FCKEditor) and produces valid XHTML or XML code. Plugin requires PHP Tidy extension.
sfMicroBlogPlugin: provides a tool box to manipulate microbloging sites. Currently twitter, ping.fm, identi.ca or any other laconi.ca are supported.
sfCookieSessionStoragePlugin: session data is directly stored in an encrypted cookie on the client side (no persistent session on the server side).
sfScriptaculousPlugin: additional JavaScript helpers formely found in JavaScriptHelper.php
sfSocialPlugin: adds social network features for your users: contacts, messages, status, etc.
sfWebRPCPlugin: allows ultra easy creation of RPC servers with symfony
Updated plugins
sfDatagridPlugin: fix the exception when the date filter value cannot be converted
DbFinderPlugin: fixed wrong exception text
sfSmartyPlugin: updated require_once to work with PEAR installed Symfony or Symfony installed as an external, updated to allow Smarty from PEAR installations
i18nTranslatePlugin: initial import
sfDoctrineUserPlugin: added a branch for 1.2
sfExtjsThemePlugin: added in ability to set actions
sfPhpDocPlugin: changed base class of sfGeneratePhpDocTask to sfBaseTask
sfImageTransformPlugin: fixed role attribute in package.xml
sfOpmlPlugin: fixed sfOpml::fromArray()
sfDoctrineActAsTaggablePlugin: various additional fixes for symfony 1.2 upgrade
tsTitlePlugin: added support for cache, fixed tsTitleTest
ckWebServicePlugin: updated README, created branch for sf1.1 version, added folder for 1.2 branch,
swToolboxPlugin: updated sendMail method
ysfYUIPlugin: changed calls to sfLoader::loadHelpers() to sfApplicationConfiguration::loadHelpers()
dwSwfChartPlugin: fixed issue with relative url root
sfDoctrineAdminGeneratorWithShowPlugin: update from official theme
sfEasyDebugPlugin: modification to allow to work when stack is not complete
sfFormExtraPlugin: fixed Autocomplete getStyleSheets() returns incorrect files, updated sfFormExtraPlugin package.xml
Some new symfony powered websites
TrustedReviews: UK's premier source of technology news and reviews
Kann nicht Auto fahren: (german) complain about bad car drivers and emberass them by adding photos and videos
ListasEmCaixas: (portuguese) social list making application
They talked about us
Functional Testing a Secured Module
How to Embed Forms in Symfony 1.2 Admin Generator Part 2
Formation symfony 1.2 + Doctrine le 21 janvier 2009
Offline Version of Symfony 1.2 Book + Jobeet Tutorial
Tutorial Jobeet completo e in Italiano
Come trovare l’ultima query eseguita da propel
Using doctrine with symfony 1.2 (2/4) - inheritance
Symfony 1.2.2 available at ServerGrove
Se publica Symfony 1.2.2
Add reCaptcha widgets to symfony forms
Invoicr (former CS-4U), what's new?
Twitto - A web framework in a twit
Jobeet se convertirá en un libro
Twitto: PHP Framework in 140 Zeichen
Twitto, el framework PHP más pequeño
German Symfony trainings
Zend Framework o Symfony
Choosing a PHP framework to work with
Symfony: Paginacja przy własnych/nietypowych warunkach SQL
More: Synchronization using phing
The bittersweet rewrite
Symfony 1.2 sous Ubuntu
Astuce symfony : changer le chemin du cookie de session de symfony
404ページをカスタマイズする場合の注意
アクションキャッシュを使用する場合にテンプレートではなくアクションから直接出力しているとキャッシュされずにページが真っ白に
Web framework
簡単にsymfonyをインストールするスクリプト
Optymalizacje: sfPropelPager::getResults()
[symfony] javascript/cssのロード

Monday, January 19, 2009

Call the expert: Using a custom version of Doctrine

Now that the release of Doctrine 1.1 right around the corner their has been a bit of noise about how users can use 1.1 instead of the default bundled 1.0.
With sfDoctrinePlugin it is easy to swap out the version of Doctrine used by simply changing one configuration value.
Below you will find an example of how you can configure sfDoctrinePlugin to use a different version of Doctrine, for example 1.1.
First we need to check out the version of Doctrine we want to use into lib/vendor/doctrine:$ cd lib/vendor
$ svn co http://svn.doctrine-project.org/branches/1.1/lib doctrine
Now we can configure the sfDoctrinePlugin to use that version of Doctrine instead of the one that comes bundled with the plugin. In your ProjectConfiguration::setup() method you need to change the value of the sfDoctrinePlugin_doctrine_lib_path with sfConfig, like the following:public function setup()
{
sfConfig::set('sfDoctrinePlugin_doctrine_lib_path', sfConfig::get('sf_lib_dir') . '/vendor/doctrine/Doctrine.php');
}
Now you can enjoy the great features of Doctrine 1.1 without too much work. You can check out what is new in Doctrine 1.1 by reading the upgrade file.

The “Practical symfony” book is now on sale

Two years after the publishing of “The Definitive Guide to symfony” book, I am happy to announce that the Jobeet tutorial is now available as a printed book: “Practical symfony“.

During the last two weeks, I have updated and enhanced the Jobeet tutorial based on the feedback from the community. I have also updated the screenshots to reflect the new Jobeet design. The “Practical symfony” book is the printed version of this tutorial and as such covers the symfony 1.2 version.

The book is available in two editions: Propel and Doctrine. You can already buy the Propel version. Jon is working on the Doctrine version and the book will be available very soon.

The book content is the same as the one available on the website. The only differences are the table of contents and the day 24 cross-references, where all links have been converted to page references.

If you want to read the Jobeet tutorial comfortably in the train or in your bed, or if you simply want to support the symfony project documentation effort, you can buy the book on lulu.com.

A week of symfony #107 (12->18 january 2009)

Symfony development continues at full pace with more than 230 changesets in just one week. Symfony 1.3 was the most updated version, including its Propel and Doctrine plugins. In addition, Jobeet tutorial was highly updated, 10 new plugins were published and tens of post about symfony were published around the world.

Development mailing list

Development highlights

  • r14660: [1.3] updated doctrine svn:externals to version 1.1
  • r14684: [1.3] made autoloaders case insensitive
  • r14688: [1.3] updated unit test bootstrap script to check for an active configuration (i.e. if called from a task)
  • r14689: [1.2, 1.3] fixed simple autoload unregister not changing registered flag
  • r14691: [1.3] added reloadAutoload method to base task
  • r14692: [1.3] updated generate:project task to generate a relative path to the core autoloader when symfony is nested within the project directory
  • r14697: [1.3] added array access + call to sfContext
  • r14698: [1.3] added $request to preExecute() and postExecute()
  • r14699: [1.3] added parsing of request content as put parameters
  • r14700: [1.3] added sfMailer + sfSwiftPlugin + tests
  • r14701: [1.3] updated core autoload
  • r14730: [1.1, 1.2, 1.3] fixed discrepancy in embedFormForEach function signature
  • r14776: [1.3] added registration of autoloadAgain when in debug mode without registering different methods on the same autoload class
  • r14829, r14830, r14831: [1.1, 1.2, 1.3] fixed notice in sfPearRestPlugin
  • r14852: [1.1, 1.2, 1.3] fixed sfForm::offsetUnset doesn’t properly unset private members
  • sfDoctrinePlugin:
    • r14698: [1.3] added $request to preExecute() and postExecute()
    • r14702, r14703: [1.3] updated test fixtures
    • r14779, r14780: [1.2, 1.3] fixes regression in sfDoctrinePager and adds additional coverage to tests
    • r14782: [1.2, 1.3] adding coverage for unique columns
    • r14783: [1.2, 1.3] Fixes _list_td_tabular.php using wrong classname
    • r14784: [1.2, 1.3] Fixes renderFormTag() to allow custom method
    • r14793: [1.2, 1.3] Fixes regression with sfDoctrinePager and the use of setQuery()
    • r14815: [1.2, 1.3] Fixes issue with wrong option being passed to insert sql task
    • r14816: [1.2, 1.3] Fixes bug where 404 is not thrown when no records are found
  • sfPropelPlugin:
    • r14691: [1.3] added reloadAutoload method to base task
    • r14698: [1.3] added $request to preExecute() and postExecute()
    • r14728: [1.1, 1.2, 1.3] fixed foreign keys are assumed with column name “ID” in auto generation of forms
    • r14731: [1.3] moved contents of config.php into configuration class
    • r14732: [1.3] removed unnecessary conditional around inclusion of behavior file
    • r14733: [1.3] added IS_I18N peer constant
    • r14770: [1.3] fixed coding standards in inheritance objects
    • r14783: [1.2, 1.3] Fixes _list_td_tabular.php using wrong classname
    • r14784: [1.2, 1.3] Fixes renderFormTag() to allow custom method
    • r14788: [1.3] added isToString column attribute to object builder, generation of __toString() magic method
  • Updated dwhittle branch: added array access + call to sfContext, removed sfContext::getMailer in favor of call, added $request to preExecute() and postExecute(), added parsing of request content as put parameters, added sfMailer base class, added initial commit of sfSwiftPlugin, updated doctrine externals to 1.1 for symfony 1.3, cleaned up doctrine test
  • …and many other changes

Development digest: 237 changesets, 44 defects created, 26 defects closed, 6 enhancements created, 3 enhancements closed, 8 documentation defects created, 18 documentation defects closed and 27 documentation edits.

Book and documentation

Wiki

Plugins

  • New plugins
    • sfGenExtraPlugin: adds extra components to work with Symfony’s generated forms (3 way sort on admin generated forms, filter on a range of numbers instead of exact values, validate a field against a constant value)
    • sfGuardHardenedPlugin: hardened version of sfGuard to avoid dictionaries attacks and sniffing tools
    • sfCliPlugin: allows to execute the symfony commands on a web console
    • sfWorkerPlugin: manage worker from symfony requests. Workers as in external process which may be longer than a single HTTP request
    • swDoctrineAssetsLibraryPlugin: a Doctrine version of the sfAssetsLibraryPlugin
    • QRcodePlugin: generates QR code image
    • sfEventDeferrerPlugin: provides the mechanisme to defer sfEvent triggering
    • sfUnobstrusiveWidgetPlugin: packages useful widgets for symfony
    • sfMultisiteThemePlugin: allows a site owner to have one or more domains pointing to one Symfony project, but allows them to set up different layouts(themes) for each URL. Allowing the same content on each site
    • sfEditTemplatePlugin: provides modules to edit template files in your symfony projects
  • Updated plugins
    • sfGravatarPlugin: added symfony 1.2 compatibility, updated default gravatar image which looked ugly
    • sfPropelActAsCommentableBehaviorPlugin: created 1.0 branch of the plugin for sf 1.0
    • sfDateTime2Plugin: fixed a roundup issue in sfDate::diff()
    • sfExtjsThemePlugin: changed so that params:field_type would also work for datastore, modified onLinkClick method to use the new default tabpanel, modified edit cancel button to close the tab, modified edit save button to update the list grid, initial import of working ExtjsGeneratorPlugin under symfony 1.2
    • limexPlugin: corrected a bogus path, added required methods to functional test case
    • swToolboxPlugin: added swValidatorTrilean (true, false and null), allow to add specific raw SQL code into Doctrine Query
    • sfDatagridPlugin: updated README, add the column comparator options for the datagridPropel, change the default text in english by default
    • sfWebRPCPlugin: debugging IXR_library, added makefile to package easily, added documentation, fixed a bug in IXR_Library
    • sfSuperCachePlugin: added ability to preserve some HTTP headers when check_lifetime is set to true. That way, client-side cached actions live well with the plugin
    • sfSocialPlugin: added count of unread messages, fixed bug in $sfSocialMessage->read(), implemented sfSocialEvent module, added some unique keys to schema.yml, implemented sfSocialContact module, updating sfGuardSecurityUser
    • sfShibbolethPlugin: added agilbert branch, added sfShibbolethUser module as a password-less alternative to sfGuardUser module, auto registration of routing rules added, updated the processForm action with a random password generator
    • bhLDAPAuthPlugin: untested recursive group checking, squelch adLDAP warning
    • sfPropelActAsCommentableBehaviorPlugin: upgraded plugin to symfony 1.2, moved plugin’s trunk to a dedicated branch
    • sfMicroBlogPlugin: added a getInstance()
    • ckWebServicePlugin: updated README, updated package.xml for version 2.2.2, migrated project fixture to sf1.2, replaced config.php with ckWebServicePluginConfiguration class, created tag for version 3.0.0, applied major refactoring to use annotations instead of doc tags where possible, added support to add methods to different webservices, refactored ckWebServiceGenerateWsdlTask to support new features of ckWsdlGenerator, SoapHandler generation is no longer optional, result adapter module configuration is no longer overwritten, merged recent changes to ckWebServiceGenerateWsdlTask and test fixture updates from 1.2 branch, disabled debug option in ckWebServiceGenerateWsdlTask, removed obsolete autoload registration, merged recent changes from 1.1 branch to provide consistent interface, moved getPropertyStrategy() from ckXsdComplexType to ckAbstractPropertyStrategy, extended functionality of property strategies

Some new symfony powered websites

  • filmprices.com: (English/Norwegian/Swedish/Danish) a film price comparison site

They talked about us

Friday, January 16, 2009

Using Ajax in Drupal 6

John K. VanDyk confirmed that Pro Drupal Development 2nd edition will be published early this summer. I don’t know about you but in Montreal it sure does not look like summer. We’re still in the dead of winter, and it’s one snowstorm after another.

Anywho, I got busy last night and, on a Drupal 6 install, I worked through chapter sweet seventeen of the Pro Drupal Development 1st edition book. The title of the chapter is "Using jQuery".

(Hey, here is an idea for a thread: name the one computer book you’ve actually read from cover to cover in your life. My answer: Pro Drupal Development, and probably just a few other books.)


View More

Wednesday, December 31, 2008

Drupal Module - iGallery

iGallery

* Compatibility : DRUPAL 6
* Version : 6.6 - Beta version.
* Liecense Information : No liecense

Copy the module directory in your modules folder and enable it.You can create public and private igallery content using this module.

For adminster igallery go to "Igallery Settings" in administer menu and follow the form and help description.

For creating new igallery go to create content and create a igallery content type. The new igallery content type will act as igallery.

Click radio button to select ur igallery type.

If u select Image it will work as image igallery. If u select Video it will work as video igallery.

You can upload wmv, mov, mpeg and some other contents type to video gallery. It will be converted to flv formate using ffmpeg commands.

Once u create i gallery you will not able to change it type.

You can select plugin to show image type igallery.... available plugins options are....

1) Greybox
2) Lightbox

Flowplayes is used to show videostreaming in video type i gallery.

Download

Sunday, December 28, 2008

Drupal Modules

* Compatibility : DRUPAL 6
* Version : 6.6 - Beta version.
* Liecense Information : No liecense

Copy the module directory in your modules folder and enable it.You can create public and private group content using this module.

For adminster groups go to group settings in administer menu and follow help description.

For creating new group go to create content and create a group content type. The new group content type will act as group.

For content adding and content management to group please download group_content module.

Download Free Drupal Modules