06 Feb 2012
Symfony Blog
Symfony 2.0.10 released
Symfony 2.0.10 has just been released:
-
Twig has been updated to 1.6.0 (which fixes a bug when using Assetic in the production environment);
-
Doctrine has been updated to their latest minor versions;
-
And as always, some minor bugs has been fixed.
The CHANGELOG has all the details about the changes done in this release and you can also have a look at the full diff.
If you are starting a new project, you can get the Symfony Standard Edition distribution on the download page.
If you already have a project based on the Symfony Standard Edition 2.0.x, you can easily upgrade to 2.0.10 by getting the new deps and deps.lock files.
Then, run the vendors script (it also clears your cache):
$ ./bin/vendors install
Remember that the Symfony2 Components are also available as standalone libraries. You can get them via their dedicated read-only repositories on Github (https://github.com/symfony/Finder for instance), install them via PEAR (pear install symfony2/Finder), or even install them via Composer.
06 Feb 2012 11:35am GMT
share.ez.no > All forums (topics and replies)
Multilingual object relations search problem
Hello,
I'm working on a multilingual website where I have a content class "Profile" that contains object relations attribute, so the relation will be between "Profile" and "Speciality".
Most of the objects are created in two languages, English and Arabic.
Now, in the perfect world when I try search for a "Speciality" in either languages I would get results for all profiles that have relation with that speciality. But in the real wold this doesn't happen.
What happens is I get results only for Profile objects that where created initially with the same language I'm searching in. For example:
I created the object Abdallah in Arabic, and it is related to Web Development (has two translations).
Now when I search for "Web Development" in Arabic, Abdallah shows up. But when I search for "Web Development" in English Abdallah doesn't show up.
And even worse, even I translate Abdallah into English it won't show up as well if I searched for "Web Development" in English.
Bottom line, searching for related objects returns results only from the initial language of the other related objects!
I'm using eZp 4.4 without eZFind.
Is that a normal behavior? Is there any fix or workaround for this?
Thanks in advance,
Abdallah
06 Feb 2012 10:15am GMT
Symfony Blog
A week of symfony #266 (30 January -> 5 February 2012)
This week, Symfony2 master branch committed a ton of fixes, tweaks and refactorizations related to Form and Validation components. In addition, Symfony2 official repository achieved a very remarkable milestone: 1,000 forks.
Development mailing list
Symfony2 development highlights
- a676598, 57cc531: [Form] added class LazyChoiceList
- 307f17d: [FrameworkBundle] code factorization in TraceableEventDispatcher
- 5aa5987: [Form] fixed form children are always validated in group Default
- dbd3a1b: [Security] allowed unsetting parentAcl on MutableAclInterface
- 1678a3d: [Validator] fixed Validator::validateValue() propagates empty validation root instead of the provided value
- 1dd302c: [Validator] fixed ConstraintViolationList::__toString() to not include dots in the output if the root is empty
- f904a9e: [Validator] fixed GraphWalker does not add constraint violation if error message is empty
- a103c28: [Validator] the Collection constraint adds 'missing' and 'extra' errors to the individual fields now
- de253dd: [Form] added read_only and disabled attributes
- fe85bbd: [Validator] simplified ExecutionContext::addViolation() and added ExecutionContext::addViolationAt()
- a30a679: [Validator] made ExecutionContext immutable and introduced new class GlobalExecutionContext
- 9153f0e: [Validator] deprecated ConstraintValidator methods setMessage(), getMessageTemplate() and getMessageParameters()
- 3c28ab7, c373d5b: [Routing] no prefix is required to override imported RouteCollections
- e9b4c58: [Console] enable process isolantion in shell
- 7cecb4e: [Form] added support for parent of FormBuilder
- 2e4ebe4: [Validator] renamed methods addViolationAtRelativePath() and getAbsolutePropertyPath() in ExecutionContext
- 7837f50: [Form] added FormUtil::singularify()
- 49d1464: [Form] implemented MergeCollectionListener which calls addXxx() and removeXxx() in your model if found
- 9b0245b: [Form] made prefix of adder and remover method configurable
- 9a4e22e: [Form] disallowed infinity in NumberToLocalizedStringTransformer
- d208f4e: [Form] made it possible to use models with only either addXxx() or removeXxx()
- b393774: [Form] used direct method access in MergeCollectionListener instead of Reflection to avoid problems when using class hierarchies
- 02f61ad: [Form] renamed choice and collection options 'adder_prefix' and 'remover_prefix' to 'add_method' and 'remove_method' and allowed to specify full method names
- 8dc40e4, 4847d3a: [FrameworkBundle] added config:dump-reference console command
58939f1, 9757958, 2f8ad93, fa32885: added configuration docs for TwigBundle(reverted)- bd461e2: [Form] forms now don't create empty objects anymore if they are completely empty and not required. The empty data for these forms is null
- 0753cee: [Form] fixed read_only attribute for expanded fields
- a1b6d4c: [DependencyInjection] added a failing testcase for escaped % in array parameters
- 048fc2f: [Form] fixed broken MoneyType test for JPY
- 8e13095, a7b48c0: [DependencyInjection] fixed the unescaping of parameters to handle arrays
Repository summary: 3,869 watchers (#1 in PHP, #28 overall) and 1000 forks (#1 in PHP, #11 overall).
Updated plugins
- apostrophe:
- fixed bug that caused page forms not to work
- refactored getEmbedCode() so it doesn't instantiate embed services twice and doesn't crash if the service URL is bogus and the width and height aren't known
- don't cache non-200 OK responses, it leads to SEO problems
- refactored nonrecursive version of aFiles::rmRf
- apostropheBlog:
- fix for XSS attack
They talked about us
- symfony range filter
- Silex: getting your project structure right
- Doctrine Sluggable and Transliteration
- Créez votre propre framework ... avec les composants Symfony2 (partie 10)
- Silex and MongoDB simply
- Loading Yaml Fixtures in Symfony2 and Doctrine2
- Une semaine symfonique #265 - du 23 au 29 janvier 2012
- Servicios REST usando Silex micro-framework 2/2
- Créez votre propre framework ... avec les composants Symfony2 (partie 11)
- Silex: set up your project for testing with PHPUnit
- Security - symfony 2 Tutorial - webdev's Blog
- symfonyでバッチ処理
- Symfony Plugin #1: Act As Sortable
- Dynamic embedded forms in symfony
- Reset database before phpunit tests in Symfony2
- Symfony 1.4 Doctrine 1.2 MS SQL Server
- Symfony 2 auf dem Mac einrichten
- [symfony] HTMLタグを含む文字列をエスケープせずに出力する
- Symfony2 ExtJS generator - Uigen - (1. update) - type recognition
- How to reduce admin generator query in Symfony 1.4
- Symfony build model error: Unable to return affix for unknown CreoleType
- Login en Symfony sin usar sfGuardPlugin
- Form choice filter auto sort by name
- symfonyはじめました-symfonyのインストール
- Autenticazione con Facebook in applicazioni Symfony
- Symfony including extra libraries or classes
- Symfony 2 vs Code Igniter
- PHPメンターズ -> Symfonyで複雑なバリデーションを行う方法
06 Feb 2012 9:24am GMT
share.ez.no > All forums (topics and replies)
Re: How to redirect /x to /defaultsiteaccess/x
Then you are stuck with rewrite rules IMO :)
06 Feb 2012 9:08am GMT
Re: How to redirect /x to /defaultsiteaccess/x
Thanks. In my case, I would like to show the default siteaccess so RemoveSiteAccessIfDefaultAccess is set to disabled (default value). In fact without the rewrite rules, it seems to me that ezurl operator does not always include the fre siteaccess when a page is displayed without /fre (even if RemoveSiteAccessIfDefaultAccess=disabled). So some pages were accessible from 2 URLs www.domain.org/fre/x and www.domain.org/x. I would like to avoid this and always display fre siteaccess.
Mathieu
06 Feb 2012 8:55am GMT
Planet PHP
Revamping my development toolchain
06 Feb 2012 7:42am GMT
05 Feb 2012
drupal.org aggregator
Modules Unraveled: 006 Khalid Baheyeldin and More Drupal Performance - Modules Unraveled Podcast
Submitted on Sun, 02/05/2012 - 17:00
Last week brought two episodes with Mike Carper talking about Drupal Performance. This week brings one more performance episode, this time with Khalid, then another special Wednesday episode to talk about the User Points module. (Don't get used to two episodes a week... It's just a fluke that it happened twice in a row! ;-p)
Khalid works for 2bits consulting on Drupal performance.
Some things he talks about include:
05 Feb 2012 11:00pm GMT
04 Feb 2012
drupal.org aggregator
orkjerns blogg: Creating nodes with images using phonegap and services
A lot of different people has started experimenting with Phonegap and Drupal. You have Jeff Linwood and his Drupal plugin for Phonegap for iOS, and I just discovered Drupalgap as I was planning this post the last weeks, which does more or less (actually it does more, but not all) some of the same things I will try to do in this post.
If you want to get up and running real quick, Drupalgap seems great. If you want to learn the code behind it, and extend it yourself (this was my motivation), keep reading.
04 Feb 2012 8:13pm GMT
Steve Purkiss: Drupal Association Opens its doors to the community At Large - and I'm running for election!
Drupal Association Opens its doors to the community At Large - and I'm running for election!
The Drupal Association is, for the first time in history, opening up two spaces on the Board for "At Large" members. Voting is open now only for a few days until Feb 7. I decided to nominate myself after hearing further about the elections during the Drupal CxO event in Amsterdam last weekend, so instead of writing up all the interesting stuff that's been going on recently at the CxO event and Drupal ScienceCamp the week before where I gave my first session and videod many others, I find myself caught up in election fever and spending the weekend answering questions which were posed during two conference calls we had on Thursday - one at 1am and one at 5pm. It was great being part of these discussions with a group of passionate people from around the world, an inspiring moment in my life I shall remember for a long time!
I'm reposting my answers here as the wiki page is a bit messy, plus I want to reach out to my own community at large as they may not even know elections are on, it seems shouting about this sort of stuff in the Drupal community is not the norm, a shame as we have so much wonderful stuff to shout about!
The Drupal Association, for those who don't know, is "an educational non-profit organization that tasks itself with fostering and supporting the Drupal software project, the community and its growth". It has no control over the software itself, and states its 2012 goals as:
- Improve the collaboration tools on drupal.org and make it rock for developers
- Organize "Drupal in a day" global trainings to solve talent issue
- Drupal as a career choice through University Programs
- Directory of all trainings to solve talent issue
- Regional events targeted at developers organized by DA staff
- Make d.o awesome for site builders (vs. developers) - module reviews, docs, etc.
I am already involved in a number of these efforts and through the events I've been to I see there are many people who want to help out and contribute but simply do not have a mechanism or the knowledge to do so. Rather than go into a big speech now, here's the answers I gave - if you like my ideas please vote before Feb 7! My core process is "fostering connections" - a skill I believe is perfect for the DA.
Candidate intros
Steve Purkiss (stevepurkiss), United Kingdom
Hi, I'm Steve Purkiss and I'm here representing the "normal guy". I've been running the Drupal group in the UK's digital media hub of Brighton for the three years that I've lived here but it was only in 2010 when I went to my first DrupalCon in Copenhagen that I *got* Drupal - it's all about the community and not just software. Since then I've been helping people understand what Drupal is, including organising a 'Drupal Discovery Day' during Brighton's Digital Festival last year where we trained over 30 people in the morning and had over 40 attendees at our conference in the afternoon. I've now been to three DrupalCons, two Drupal CxO days, devdays, and did my first session at a DrupalCamp a couple of weeks back in Cambridge entitled 'From Flip Charts to Features and beyond' building on the work I've been doing with organisations including Brighton & Hove City Council in order to help them quickly and easily understand how to build projects in an agile way using Drupal and its plethora of modules. I also video many of the sessions and upload them to archive.org - I believe we should do much more videoing of events!
My first experience of the Drupal Association was in DrupalCon Copenhagen when I asked if they'd ever heard of a 'Virtual Enterprise Network' and explained it was a structure for enabling organisations including businesses, universities, and government instititions, to work together in order to deliver larger projects - similar to how the film industry works when coming together to produce a film. I asked if there was anyone in the Association who I could talk to about it because I believe strongly we have built a wonderful modular piece of software however we are yet to build a modular business model on top. The answer I received was a point-blank "No, they're all incredibly busy working for very large corporations." This is why I decided to nominated myself and hence why I feel I stand for the "normal guy" wanting to bring back some balance to the board.
Questions and answers
Harley (hyperglide) Regarding emerging markets in asia. Do any of the candidates have an idea on how to handle outreach to those markets to solve the talent shortage?
A: Steve Purkiss (stevepurkiss) The Association is in an ideal position to help pool and funnel resources to those on the ground in order to help them grow their communities wherever they are in the world. Being a focal point for the community, the Association can help the community to speak from one voice and spread knowledge sharing, education and community values wherever it is needed, and not only to those who can afford it.
(tsvenson) Q to each candidate: What do you see as the biggest obstacles for new Drupal users, especially non coders with small or no budgets, often leading to them quickly going elsewhere? And what will you do to change that?
A: Steve Purkiss (stevepurkiss) In Brighton I was going to run a week of Drupal training at £149 per day but was told I couldn't call it "affordable" training as it made other offerings sound expensive. If we only focus on the commercial side of things we have a big problem - and vice versa. I would rather see a focus on creating more sustainable forms of business than focusing on just one sector. To not view Wordpress as a threat here is IMHO a mistake.
I entered professional programming through a government-funded course and I am keen to ensure those opportunities are ongoing for people so I am talking to local colleges, universities and business networks about training students, graduates, unemployed, and career changers in Drupal. I am finding it hard by myself and my local network, if in the Association I would reach out to those around the world who can help on a more focused, local basis and assist in the construction of more support networks IRL.
(webchick) For those who want to promote international diversity, explain how a position on the DA helps you do that more effectively.
A: Steve Purkiss (stevepurkiss) Finding out what resources are needed and how they need to be tailored for particular cultures. At the recent Drupal CxO days in Amsterdam the hosts Microsoft explained a little into the process of how they do this and have offered us some time to help us - I would ensure we follow up on this very generous offer. As was mentioned, we are great technicians but not so great marketers - so why not take some tips from the best and help spread the Drupal community wider?
(Crell) Currently Drupal's face in the world is a mix of face-less Drupal.org and Acquia. Acquia is the face of Drupal, rightly or wrongly, in many eyes, moreso with the new Office of the CTO. Drupal of course is far far more than Acquia. What if anything do you feel the DA can or should do to counter-balance that, or is that even an appropriate role for the DA?
A: Steve Purkiss (stevepurkiss) The two At Large positions are a step in the right direction as we don't necessarily know who's out there in our community now as opposed to years ago when it was relatively small and why most members are from the more established companies. By bringing in outside perspectives with complementary knowledge and networks we enrich the community and move towards a more balanced, sustainable solution for democratised governance.
(tsvenson) Q to all: We just had a live usability test that showed we have still very much to do. How do you propose we can put more efforts into making Drupal, including contib projects, more user friendly and intuitive?
A: Steve Purkiss (stevepurkiss) There are some things as a community we do not do well at the moment, one of those is eat our own dogfood. I hear of many other tools people use running their Drupal business but we should work together to invest time, and funds, in fostering existing efforts such as the open app initiative. We should also develop new methods of people being able to contribute easier to the community - one such concept I've had is http://dropfund.org (hey, I bought the domain name so it's all built and ready, right?!) where people could post their project ideas much like a kickstarter for Drupal. Everything from marketing material through to module development sponsorship could be posted and funded easier than trawling through drupal.org and gdo just stumbling across stuff and trying to figure out what's going on and how to help.
(Slurpee) How many candidates have been to Drupal events outside of their own continent? And can you speak more than 1 language fluently?
A: Steve Purkiss (stevepurkiss) Since DrupalCon Copenhagen I have been to DrupalCon Chicago and London, Developer Days Brussels, CxO Days Brussels and last weekend's CxO event in Amsterdam, and the weekend before that I gave my first session at Drupal ScienceCamp Cambridge. I'm better with software languages than spoken, having spent from age 9 to now 39 learning how to talk in various software languages, from BASIC, through Pascal, ADA, Java, PHP, and now Drupal.
(Crell) Several of you listed things yo want to do or accomplish. The DA, however, has shifted from a staff board to a policy board, so board members are not directly doing anything, but managing, strategizing, coordinating, etc. Those of you who want to "do", isn't the board the wrong place for what you're describing?
A: Steve Purkiss (stevepurkiss) I want to work towards a more level playing field for everyone in the community - at the moment it seems as if the more well-funded operations build their own tools, workflow, and methods of dealing with inefficiencies in tools we have such as drupal.org whereas I believe it's the role of the DA to encourage contribution of these tools back to the community, and pool as many of these resources as possible so they are of benefit to all and not just competitive advantage for a few. Managing, strategizing, and coordinating are the ways in which I will achieve this!
(rfay) In 30 seconds or less, what are the roles of the DA and what are not the roles?
A: Steve Purkiss (stevepurkiss) The DA plays an important role supporting the development and growth of the Drupal community and should take a more active role in enabling those who want to contribute to be able to do so. It is not the DA's role to be involved in the decision-making process when it comes to the software itself, however it should be there to support ongoing efforts by being able to connect funders and those wanting funding, whether for hardware or software development. In terms of funding development then I believe the community and not the DA should be the decision-makers as to what gets funded - the DA should just help with the organisation of these initiatives.
(Crell) Q: Several candidates said they want to better represent or be a voice for "small shops" and independents. In what way does the DA currently not adequately serve small shops, and what would a better service for small players mean in practice? Be as specific as possible.
A: Steve Purkiss (stevepurkiss) It is more that relationships are currently built and maintained around a relatively few number of shops - ones who are either ingrained in the community, or who have the funds to "buy" their way into the community. Mostly I believe this is due to the fact we are not utilising our own software to the best effect to help connect, also because we are still thinking in terms of old-IT top-down big consultancy approach in some ways - perhaps because the biggest businesses involved currently still work that way.
We have built wonderful modular software and we are currently seeming to try and mash that into an old, out-of-date business model. Many large IT failures will still happen if the business models don't change - it's just they'll fail with Open Source Software resulting in harming its reputation. There are other ways, one of which is Virtual Enterprise Networks ('VEN')* where one body represents its members in a commercial environment, enabling sharing of costs such as marketing, and enabling larger projects to be delivered than could be done by any one member organisation alone.
Many smaller shops and independents are technically very capable but not so good at marketing - will a skills shortage and the fact that specific expertise is not geographically specific we should embrace new ways of working together on larger projects than just giving them to to the larger companies. As I discovered at the recent Drupal CxO event in Amsterdam *every* Drupal company there had issues with being too small - whether they were 2, 20, or 50 people. With a VEN a structure would be there for easier collaboration between these companies and individuals.
I believe the DA is in an ideal position to help to work towards the creation of a Drupal VEN, and spearhead not only a modular piece of software but a complementary business model to boot. I see some worrying similarities between what is happening in the Drupal world and what happened in the dotcom days when the company I was working at received $7m investment and immediately went out and hired lots of ex-IBM people. We have a small window of opportunity here to do something different and innovative - we should take full advantage of before balance is lost and we end up repeating old business mistakes simply because we are only listening to those who have too much interest in a particular model, or who simple do not know any other way is possible. A VEN is just one potential structure which should be investigated further in order to see which would be most complementary to the Drupal community in order to utilise the network more efficiently.
* http://www.bioteams.com/2005/07/11/virtual_enterprise_networks.html
(tsvenson) When do you think the first Asian DrupalCon should be held? Also, should that mean 3 cons/year or should they alternate with 2/year?
A: Steve Purkiss (stevepurkiss) I would need to investigate the current situation and any research done so far before suggesting any answer to this. At the moment, I feel if the community is big enough to support it then sure, if not then we should see how we can build or connect the community more so that it is in a position to put on a Con.
(jredding) In 30 seconds or less, what would you say is the most important skillset, expertise, or experience that a board member should bring to the Association.
A: Steve Purkiss (stevepurkiss) Experience, passion, ideas, ears, mouth when needed, sympathy, empathy, commitment, independence, and a willingness to question and challenge the status quo.
(carsonblack) What are some (or one) way that DA can help the small user groups throughout the world better serve their local markets?
A: Steve Purkiss (stevepurkiss) At the recent Drupal CxO event in Amsterdam I spoke to a number of companies who want to join forces in order to help create more marketing materials for Drupal. We should help these companies to contribute as the result will be more material available for everyone to use, including local user groups. We should also make it easier to start and maintain local groups by providing more up-to-date resources of information gathered from existing groups, and continue to provide funding where possible. I won one of the first Community Cultivation Grants with which I created a short video "What is Drupal?" (http://bad-ass.org.uk/what-is-drupal) which helped a little but we need more ongoing support too so we can develop the great work people are doing out there "in the field". Guilds are great, however we should ensure these do not go the way of the guilds of old, which ended up being cartels. There was a similar issue in the Open Source Consortium of which I was a founding member but left soon after as I felt it would go this way. It was set up by Mark Taylor from Sirius IT who has spoken at Drupal CxO events, he confirmed to me it did end up being a cartel so he too left. Not saying Drupal Guilds will, we just have to be aware they potentially could.
(Crell) The DA is officially banned from "directing the development of Drupal". What does that mean to you? Are there ways the DA could "support" development without "directing" development? What would you want to do in that regard? Again, be specific as possible.
A: Steve Purkiss (stevepurkiss) To me this means the DA should be supporting the development of Drupal whatever that development is. For example, if the community decided to rewrite the entire of Drupal using .NET technologies, although it would be a completely ridiculous concept, the DA should support the community's decision. The DA is ideally positioned to be a connector of resources to support the development of Drupal, by working with the community to ascertain what resources are needed the DA can help ensure access to those resources are provided, whether in terms of hardware, funding, or whatever is necessary for the community to continue to grow and flourish.
(tsvenson) Should the DA take a more proactive role about the d.o infrastructure and its improvement needs. Especially in regards to for example content management tools for doumentation and giving better cred/visibility to all those that puts in amazing work that is not project/code related? If so how and what is needed?
A: Steve Purkiss (stevepurkiss) Yes, I believe it is the responsiblity of the DA to support the infrastructure used by the community. I think there is a lot that can be done here in terms of working more closely with companies using Drupal to help them contribute more back to the community in order to help sustain and grow. At the moment it seems as if there's a high barrier in terms of both expertise and time to be able to change much, with a little more communication and connection of existing efforts I believe we can provide much better tools for the community to use, which will in turn show off more of what Drupal can do to the wider world and hopefully make it a little easier to understand for all.
Candidate summary statements
My first job was selling computers to small businesses, and whilst I have also worked with many large corporations, it is the small business person I have most affinity with. As we move into an age of more interdependance as many are laid off from work I believe we need to bring back some balance on the board and provide more assistance to those who have the passion and expertise but not necessarily the cash and connect them with those who have the cash but not necessarily the expertise (or indeed passion!). We need to foster the growth of more tools using our own software to help collaboration and start to build a world based on the ways we work together now, not 10, 20 or 30 years ago. By coming onto the board from this side, I bring fresh new ideas and energy, and a network which provides further reach than the board currently possesses in order to help the Association achieve and exceed the initiatives set out for 2012. I am already involved in many of the areas such as talking to universities and organising free training events, I could do this more effectively and to a greater degree if I were to be on the DA board, thus having easier access to more resources and connections.
ENDS
Feel free to ask me any questions you may have here, on my nomination profile, or on twitter, I'd be happy to answer!
One last thing - don't forget to vote by Feb7! Voting is open to all who have a Drupal account longer than about three weeks old and who have logged at least once in the previous year - that's around 270,000 people of which at time of writing only 280 have voted.
Make sure your voice is heard and vote today!
04 Feb 2012 7:34pm GMT
Planet PHP
PHPUnit Plugin For Sublime Text 2
Sublime Text 2 is a new cross-platform text editor that I've recently switched to. It's still in public beta, but already offers better performance (and battery life!) and a better look (fonts that render properly!) than Java-based IDEs such as Netbeans. One thing it didn't have was support for PHPUnit, so I've made a plugin. [...]
04 Feb 2012 6:57pm GMT
03 Feb 2012
Planet PHP
/dev/hell Podcast Episode #5
I was privileged to be invited to be a part of the /dev/hell podcast this week. Thanks to Chris and Ed for having me on. Check it out. And subscribe to their podcast.
03 Feb 2012 6:12pm GMT
30 Jan 2012
Symfony Blog
A week of symfony #265 (23->29 January 2012)
This week, time, logger and Doctrine collectors were tweaked and refactored. Meanwhile, the Form component fixed lots of bugs, specially with the improvements of ChoiceListInterface and its implementations.
Development mailing list
Symfony2 development highlights
- 3b260d2: refactored the collector to separate the loggers per connection
- e37783f: [DoctrineBridge] refactored the query sanitization in the collector
- 2a998e0: [FrameworkBundle] handle disabled csrf protection in the PHP templating form helper
- 3a1699a: handle disabled csrf protection in the Twig FormExtension
- 87b16e7: [Form] greatly improved ChoiceListInterface and all of its implementations (EntityChoiceList was adapted, the methods getEntities(), getEntitiesByByKeys(), getIdentifier() and getIdentifierValues() were removed/made private. Instead of the first two you can use getChoices() and getChoicesByValues(), for the latter two no replacement exists. ArrayChoiceList was replaced by SimpleChoiceList. PaddedChoiceList, MonthChoiceList and TimezoneChoiceList were removed. Their functionality was merged into DateType, TimeType and TimezoneType)
- e1fc5a5: [Form] restricted form names to specific characters to fix generation of HTML IDs and to avoid problems with property paths
- f533ef0: [Form] added ChoiceView class for passing choice-related data to the view
- 43e0db5: [DomCrawler] add support for multivalued form fields
- 399af27: [Form] implemented checks to assert that values and indices generated in choice lists match their requirements
- ed9c348: [Security] Authentication(Success|Failure)Handler can now return null
- 2dd4bf1, c3f637b: [Form] support for PATCH method in forms
- d4300b9, b879397: [WebProfilerBundle] tweak the time view
- a52c675: [WebProfilerBundle] improved the logger panel
- 7f96c8a: [HttpKernel] prevent php script execution in cached ESI pages using HttpCache
- c3f0ec7: [DoctrineBundle] made DoctrineBundle fowards compatible with Doctrine 2.2
Repository summary: 3,830 watchers (#1 in PHP, #27 overall) and 983 forks (#1 in PHP, #11 overall).
Updated plugins
- dcReloadedFormExtra:
- added a uniquenes checker widget that checks the uniqueness of a value using an Ajax callback
- sfSyncContent:
- created default parameters for sync content to be frontend dev FROM prod@production
- apostrophe:
- added an app.yml option to return email links in a different format that allows apostrophe.unobfuscateEmailInline to be called outside of the a_js spool
- all unlink() and rmdir() calls in the product now invoke aFiles::unlink() and aFiles::rmdir(), providing a capability to override these methods
- the aFiles class has been refactored into a BaseaFiles? class and an empty aFiles subclass, allowing convenient overrides
- a_button helper now accepts a single array of options as an alternative to the full list of parameters
- slideshows are allowed to have the crossfade transition now even if they have no height specified
- fixed event bug in menutoggle script and added jQuery 1.7 to the plugin
- annotation of multiple media items works again
- apostropheBlog:
- added a 'first' class to the first pager in the blog index
They talked about us
- deSymfony 2012 inicia su call for papers
- Create your own framework ... on top of the Symfony2 Components (part 11)
- Une semaine symfonique #264 - du 16 au 22 janvier 2012
- symfony forward through LAN
- Use virtuals forms with Symfony2
- Create your own framework ... on top of the Symfony2 Components (part 12)
- sqlite w środowisku developerskim w symfony i symfony2
- Load fixtures with Symfony2 and YAML files
- Onde encontrar Bundles para o Symfony2
- Notes: Symfony 2 (一)
- Nazwa.pl, PostgreSQL i Symfony
- Recording 'Last Activity' for Users in Symfony2 + FOSUserBundle
- Get started with Symfony in Amazon Cloud
- symfony schema.yml の覚書
- Symfony YAML MySQL Workbench Plugin
- Symfony 1.4 Admin Generator - Aktuelles Objekt in Partial
- Uso de sfWidgetFormJQueryDate (datepicker) en Symfony
- Symfony meets APC (Alternative PHP Cache)
- Сайт за масла - голямото предизвикателство решено със Symfony
30 Jan 2012 4:19pm GMT
DevZone
Press Release Roundup – Zend Server on OSX and phpcloud.com
Here at Zend we get a lot of good press for our products. We don't want to turn DevZone into just a feed for those that write cool things about us, but some of these are helpful if you are considering using our products. So instead of flooding your feed with individual articles about how great the products are, occasionally we'll post a roundup. That way they won't get in your way, but there are here when you need them.
30 Jan 2012 2:37pm GMT
27 Jan 2012
DevZone
Using ClamAV with Zend Framework
Want to check your file uploads with ClamAV? We've got a link to a tutorial to show you how.
27 Jan 2012 2:50pm GMT
25 Jan 2012
CI News
Pancake App
Three days ago I received my copy of Inc magazine. I was scanning through it and low and behold there is a 1/4 page blurb about Pancake App! Phil is a leader within the CodeIgniter community and a member of the Reactor Team so I was very excited to see this. After doing some research I found that we have never done a showcase on Pancake App so this entry is to make that right. Congratulations to Phil, Lee, Bruno and Adam! You guys deserve the recognition that Inc. Magazine is bringing you.
Tell us a little about Phil and Lee.
Lee Tengum is a PHP developer with a keen eye for design. I am a long-time CodeIgniter user and contributor who also likes to build distributed applications. We make a good team, as I couldn't design a website to save my life and I have plenty of experience building backend systems.
How did you two come to work together?
We've been working together on various projects for years now after we crossed paths on the CodeIgniter forums back in 2007. Lee built a very simple CMS which I ended up buying and that CMS became the great grandaddy of PyroCMS. Since then there have been a few client projects we've worked on and while Lee is a talented programmer we generally split the work as Lee on UI and myself on the main development. About a year ago Lee started building a simple internal application to collect payments from a difficult client.
After showing it to a few different people they were interested and wanted more features added in, which was when Lee decided to migrate the code to CodeIgniter and get more people involved. Throughout Pancakes lifetime it has had contributions from several prominent CodeIgniter developers and the team currently consists of Lee, Bruno De Barros, Adam Jackett and myself.
What can you tell us about the app in general?
I like to describe PancakeApp as a freelancers sidekick. PancakeApp handles the full project life-cycle from Proposal to Payment. You can draft Proposals and send them to your client, who can then accept or reject until an iteration is agreed on, all from within the app. That saves a lot of PDF emailing! With the Proposal agreed upon you can make a Project, add Milestones and Tasks and even track time against each task. You can generate invoices based on the Projects which automatically take all your tasks and tracked time into consideration, so your Project is instantly turned into line items and totals. You can of course also create invoices from scratch. The invoices are sent to the client who then has multiple options of paying based on what you've enabled in the settings, so you can take money via PayPal, Authorize.net, Bank Transfer or even accept cash; instructions will be listed on the invoice.
You might be thinking of a hosted service that sounds similar too, but PancakeApp is not a hosted service. It's a single payment to download the software and then it's all yours to go on your own server. No worries about other companies having your client details, no monthly fees, just one payment.
There is one last thing that makes PancakeApp awesome: Auto-updating. If you turn this feature on in the control panel, PancakeApp will upgrade in the background as soon as we release a new version. You don't need to keep logging into your FTP server to replace files or worry about running an upgrade script, we send out a HTTP notification to installations to grab the new files and CodeIgniter Migrations take care of the database changes.
I know you are on the Reactor team but when building something major like this you can build it using anything. So what was your major consideration in using CodeIgniter for this?
The most obvious answer would be that both me and Lee know the framework well and have been using it a long time, but the main reason is that CodeIgniter is currently the most simple and most portable framework around. While some frameworks undergo large rewrites to implement the very latest PHP 5.3 features, CodeIgniter maintains backwards compatibility for older servers meaning it is perfect for distributed applications in two ways: 1) We won't have to re-write PancakeApp in a year, it has already gone from 1.7.x to 2.1.0 without a hitch, but also 2) it will work on PHP 5.1.6 servers. While as developers we have probably all upgraded any servers in our control to PHP 5.3 and are trying to convince our clients to upgrade theirs, when you release a distributed application like PancakeApp it has to work in as many places as possible and CodeIgniter makes that incredibly simple. After-all if we used a PHP 5.3-only framework and 30% of servers are still on PHP 5.2, we've just reduced our target market by 30%!
What is next on the plate for pancake app? Any additional functionality you can tell us about?
There are some brilliant features coming for PancakeApp at the moment. We've just finished up some improvements to User Management and Permissions meaning that you can add plenty of users with varying levels of access, and there are plans to improve the existing REST API even more to allow for more integration with other services.
Do you have any other information you'd like to share with the community? Tips from this project you'd like to share? Lessons you've learned?
The API is something I really wish I'd focused on more at the start. It is a well-known developer habbit to build an application or website then add the API in as more of an after-thought. While we are happy to have an API if we'd build it first and used it as a core for the system (much like Twitter does for example) then we'd have been able to make it much more powerful and have web features and API features keep up with each other without duplication of effort.
A positive lesson we learned was open, honest, personal customer support. While PancakeApp was still in its first year we had a few users on Twitter and in various forums make some complaints that certain features were not included. While some developers would take a defensive position, we admitted there was room for improvement and engaged them in conversation. Those users who complained all now have a PancakeApp license and have become some of our best evangelists. It's thanks to users like this that PancakeApp has started to spread and we even got quite a big mention in Inc Magazine this month!*
25 Jan 2012 4:56pm GMT
20 Jan 2012
CI News
ZoomShift
What can you tell us about the team that built ZoomShift?
Zoomshift is a rather young 4-person team composed of 2 developers, a designer, and a sales and content person. Our team is very tight knit and incredibly passionate about entrepreneurship and technology. We are strong believers in lean methodology and are constantly searching for new technologies to set our product apart. We all agree that we can't see ourselves doing anything else. We love what we do and have a strong passion for entrepreneurship.

What can you tell us about the site in general? What are the goals of the site and the main audience?
The idea for ZoomShift was born from experience working in the service industry. From serving tables to selling tickets we realized first-hand that employee scheduling can be an absolute nightmare for many organizations. After doing some research we were unable to find a solution that was intuitive, affordable, and truly simplified the scheduling process. In turn, we decided to build ZoomShift with the goal of making scheduling simple for both employees and managers. Our vision for ZoomShift has always been very focused with the mentality that less is more. We focus on the core functionality of online employee scheduling and purposefully leave out all of the extra features that many other solutions provide.
Currently, we have customers ranging from restaurants and hotels to volunteer organizations and small medical clinics. ZoomShift is not designed to fit one specific industry, but rather it is intended to work for any organization that needs to schedule employees hourly. We love that our customers are other small businesses and from their feedback we are constantly finding new ways to make scheduling even simpler.
What was your major consideration in using CodeIgniter?
Choosing CodeIgniter was an easy decision for us. We wanted a lightweight and flexible framework that was relatively easy to learn. From a development perspective we didn't want to be confined, and we knew that we would be needing to extend the framework quite a bit. CodeIgniter offered us a solid foundation in MVC that we could then comfortably build on top of. Also, it was incredibly important to us that the framework was well documented. The documentation was evidence to us that CodeIgniter was polished and built with care. We clearly made the right decision with CodeIgniter. It's simple, not bloated, and suitable for the pro down to the novice.
What is next on the plate for ZoomShift? Any additional functionality.
Mobile is next. We have been waiting to pull the trigger on mobile development for a few months now. We really wanted to dial in the core feature set of the application before turning our focus to mobile. Now that we have a steady customer base and have validated our core features it is time to push onto mobile. While the current application runs smoothly on mobile browsers we want to offer our customers a native application for iOS and Android.
Do you have any other information you'd like to share with the community?
Build a strong team. It is the team behind a product that makes it great, and an idea is only worth something if you have the team to execute it. Finding a group of talented individuals that share a passion is incredibly powerful. Do what you love, talk about what you love, and go where other people are doing what you love. If you immerse yourself and reach out to others you will naturally build relationships with people that think like you do. These relationships will be a source of energy and inspiration as well as an incredible source of knowledge. Do what you love and make friends.
20 Jan 2012 8:47pm GMT
11 Jan 2012
DevZone
Zend Developer Pulse
There's a new survey series worth checking out called the Zend Developer Pulse™. Zend is taking the pulse of developers regarding technology and career topics. Findings from the first survey, conducted online in Q4 2011, are available in a summary report. Zend received over 3,000 responses in 48 hours. Not bad. Take a peek at the report, and send your feedback to Zend.
11 Jan 2012 3:48pm GMT
20 Dec 2011
CI News
CPA Site Solutions touts CI
CPA Site Solutions just put out this Press Release that touts CodeIgniter. They used it to create their new email marketing system.
And I quote:
"We evaluated several frameworks for PHP web application development. Many of them could have worked, but they really tried to lock you in to their way of doing things," explains Bob Rayl, Chief Technology Officer at CPA Site Solutions. "They did not offer the flexibility we need to accomplish some of the heavily proprietary functionality we bundle into our systems."
As part of the original article they also state that CI helped cut their development time.
If you have used CodeIgniter for a project that you think deserves a mention email Marcus
20 Dec 2011 1:00pm GMT
30 Nov 2011
News
Granite Horizon to Showcase Cloud-Based Version of eZ Publish at Gilbane
Granite Horizon LLC and eZ Systems AS today announced Granite Horizon in the Cloud to be showcased at The Gilbane Conference in Boston.
30 Nov 2011 12:55pm GMT
Granite Horizon to Showcase Cloud-Based Version of eZ Publish at Gilbane
Granite Horizon LLC and eZ Systems AS today announced Granite Horizon in the Cloud to be showcased at The Gilbane Conference in Boston.
30 Nov 2011 12:55pm GMT
Granite Horizon to Showcase Cloud-Based Version of eZ Publish at Gilbane
Granite Horizon LLC and eZ Systems AS today announced Granite Horizon in the Cloud to be showcased at The Gilbane Conference in Boston.
30 Nov 2011 12:55pm GMT
22 Nov 2011
News
eZ Systems Unveils New Tools to Make Websites More Adaptable, Mobile-Ready and Easier to Search
Skien, Norway - November 22, 2011 - eZ Systems AS, the award winning Open Source Web Content Management Platform provider, today announced the release of its newest update, version 4.6, titled Annapurna. Users can benefit from enhanced extensibility, simplified content access and App readiness.
22 Nov 2011 12:43pm GMT
eZ Systems Unveils New Tools to Make Websites More Adaptable, Mobile-Ready and Easier to Search
Skien, Norway - November 22, 2011 - eZ Systems AS, the award winning Open Source Web Content Management Platform provider, today announced the release of its newest update, version 4.6, titled Annapurna. Users can benefit from enhanced extensibility, simplified content access and App readiness.
22 Nov 2011 12:43pm GMT
eZ Systems Unveils New Tools to Make Websites More Adaptable, Mobile-Ready and Easier to Search
Skien, Norway - November 22, 2011 - eZ Systems AS, the award winning Open Source Web Content Management Platform provider, today announced the release of its newest update, version 4.6, titled Annapurna. Users can benefit from enhanced extensibility, simplified content access and App readiness.
22 Nov 2011 12:43pm GMT
21 Nov 2011
News
eZ Systems Welcomes Inclusion in the 2011 Magic Quadrant for Web Content Management
Skien, Norway, November 21, 2011 - eZ Systems AS, the creator of the award winning Open Source Web Content Management Platform, eZ Publish, today announced it has been included by Gartner, Inc. in the "Magic Quadrant for Web Content Management,"* based on an evaluation of the company's ability to execute and its completeness of vision.
21 Nov 2011 2:15am GMT
eZ Systems Welcomes Inclusion in the 2011 Magic Quadrant for Web Content Management
Skien, Norway, November 21, 2011 - eZ Systems AS, the creator of the award winning Open Source Web Content Management Platform, eZ Publish, today announced it has been included by Gartner, Inc. in the "Magic Quadrant for Web Content Management,"* based on an evaluation of the company's ability to execute and its completeness of vision.
21 Nov 2011 2:15am GMT
eZ Systems Welcomes Inclusion in the 2011 Magic Quadrant for Web Content Management
Skien, Norway, November 21, 2011 - eZ Systems AS, the creator of the award winning Open Source Web Content Management Platform, eZ Publish, today announced it has been included by Gartner, Inc. in the "Magic Quadrant for Web Content Management,"* based on an evaluation of the company's ability to execute and its completeness of vision.
21 Nov 2011 2:15am GMT
13 Oct 2011
share.ez.no > Articles and Tutorials
Building native mobile applications with the eZ Publish REST API
eZ Publish is a Web Content Management System that provides a platform to publish content via any channel. Its powerful presentation engine enables you to create websites and pages that display your content in a variety of renderings. Its powerful API directly and simply integrates your content with any web-enabled application on any device, such as the iPad, iPhone, or an Android device, without ever interfering with, or impacting the platform itself.
At the end of this tutorial, you will have learnt the basics of mobile application development for both iOS and Android platforms, consuming content from eZ Publish. CMS-side adjustments for the mobile channel will be acquired too. This cheatsheet will help you leverage the multichannel capabilities of eZ Publish, and its REST API in future projects, in a more systematic fashion.
13 Oct 2011 2:21pm GMT
16 Aug 2011
share.ez.no > Articles and Tutorials
Image Maps in ezwebin Banners
Beginners guide for learning how to use image maps in the ezwebin extension.
16 Aug 2011 12:40pm GMT
07 Jul 2011
share.ez.no > Articles and Tutorials
Building mobile browser and hybrid applications with eZ Publish
eZ Publish is a Web Content Management System that provides a platform to publish content via any channel. Its powerful presentation engine enables you to create websites and pages that display your content in a variety of renderings. Its powerful API directly and simply integrates your content with any web-enabled application on any device, such as the iPad, iPhone, or an Android device, without ever interfering with, or impacting the platform itself.
At the end of this tutorial, you will have learnt the basics of mobile application development for both iOS and Android platforms, consuming content from eZ Publish. CMS-side adjustments for the mobile channel will be acquired too. This cheatsheet will help you leverage the multichannel capabilities of eZ Publish, and its REST API in future projects, in a more systematic fashion.
07 Jul 2011 1:29pm GMT
06 Apr 2011
cakebaker
Bash autocompletion for Git
One thing I often wished to have when using Git was the ability to autocomplete Git commands and branch names. As I had to learn this week from Markus Prinz' article A few of my Git tricks, tips and workflows, Git comes with an autocompletion script for the Bash shell. But to use the autocompletion, [...]
06 Apr 2011 8:36am GMT
01 Apr 2011
cakebaker
Array iteration with JavaScript
Till recently I always used a for-loop when I had to iterate over an array in JavaScript. For example: var myArray = [1, 2, 3, 4]; for (var i = 0; i < myArray.length; i++) { console.log(myArray[i]); } However, with ECMAScript 5 the Array object itself got some methods for iteration purposes. With those methods [...]
01 Apr 2011 2:51pm GMT
10 Jan 2011
cakebaker
2-legged vs. 3-legged OAuth
From emails I receive it seems like there is a bit of confusion about what the terms 2-legged OAuth and 3-legged OAuth mean. I hope I can clear up this confusion with this article (and don't contribute more to the confusion…). In short, they describe two different usage scenarios of OAuth involving two respectively three [...]
10 Jan 2011 5:30pm GMT
04 Mar 2010
WithCake.com Companies Hiring
qpLogic Europe
We can use immediately an experienced Cake developer for assisting us with developing a multi-lingual application that needs some Jake/Joomla (css) integration. We have continuously Cake projects and prefer to work with a team of individual developers in multiple time zones. Please show me that you are experienced, affordable and have at least 24 hours available per week (40 is better ;-).
04 Mar 2010 11:54am GMT
