| Forum: snipeet |
|---|
| Topic: error404 on snippets page |
|---|
|
| Topic: table prefix and phpName in schema.xml |
|---|
| table prefix and phpName in schema.xml [message #53529] |
Thu, 05 June 2008 13:25 |
simo Messages: 29 Registered: May 2008 Location: pondicherry |
Junior Member |
|
|
Hi all,
I wrote few lines of code to remove table prefix and automatically provides phpName attribute to tables on schema.xml file, respecting the CamelCase format.
You just have to provide the prefix, the source xml file and the generated xml file (if different - not compulsory).
<?php
$prefix = 'prefix_';
$filePath = 'way\to\your\xml\file';
$fileSave = 'way\to\the\generated\xml\file'; # not compulsory
function removePrefix ($string) {
$prefix = $GLOBALS['prefix'];
$string = str_replace($prefix, '', $string);
$arr = split('_', $string);
$name = '';
foreach($arr as $row) {
$name .= ucfirst($row);
}
return $name;
}
if (file_exists($filePath)) {
$xml =simplexml_load_file($filePath);
foreach($xml->xpath('//table') as $item) {
$attrs = $item->attributes();
$phpName = removePrefix ($attrs['name']);
$item->addAttribute('phpName', $phpName);
}
if(isset($fileSave) && $fileSave != '') {
$xmlFile = $fileSave;
} else {
$xmlFile = $filePath;
}
$xml->asXML($xmlFile);
} else {
exit('Failed to open file : '. $filePath);
}
?>
Hope i'm not re-inventing the wheel and it will be usefull to you!
I guess the message has to be switched to another category.. sorry for that.
[Updated on: Thu, 05 June 2008 13:30]
|
|
|
| Forum: Other |
|---|
| Topic: How to transfer variables |
|---|
| How to transfer variables [message #26847] |
Tue, 08 May 2007 06:09 |
web.do Messages: 3 Registered: February 2007 |
Junior Member |
|
|
Hi! I have some problem with transfer variables form action.class to another site (like, www.web.com?enter='reg').
My project has been wrote with Symfony.
|
|
|
| Topic: How to transfer specical symbols to adres bar? |
|---|
| How to transfer specical symbols to adres bar? [message #27236] |
Tue, 15 May 2007 04:57 |
web.do Messages: 3 Registered: February 2007 |
Junior Member |
|
|
How to transfer specical symbols (like, @, $, dot etc.) to adres bar with routing.yml config file?
|
|
|
| Topic: The first Kazakhstan symfony the project |
|---|
| The first Kazakhstan symfony the project [message #36157] |
Mon, 24 September 2007 04:25 |
WeBMaN Messages: 60 Registered: February 2007 Location: Kazakhstan |
Member |
|
|
|
xat.kz
|
|
|
| Topic: New site running on Symfony - www.mountain.sk |
|---|
| New site running on Symfony - www.mountain.sk [message #47131] |
Wed, 05 March 2008 20:23 |
mvan Messages: 4 Registered: March 2008 |
Junior Member |
|
|
I have recently re-launched a non-commercial project now built on Symfony framework.
http://www.mountain.sk/ web site provides a place for easy sharing of photos and experiences from different actions and adventures happening in the mountains.
I used:
- Symfony as an application framework including few of its plugins
- Ajax helpers for photo sets management (registered users)
- swfUpload component for handling easy multi-file uploads (registered users)
- Lightbox adaptation based on mootools lib for photo preview
- Google Picasa API integration as an alternative to the photo upload (using Zend library)
- Google Maps API integration to provide photo sets geo descriptions using lines and markers
- Full OpenID consumer support for registration and login (using Zend library)
- l10n and I18n
Thanks to all Symfony team!
Michal Vanovcan
Bratislava, Slovakia
[Updated on: Mon, 25 August 2008 15:40]
|
|
|
| Topic: Symclipse doesn't work |
|---|
| Symclipse doesn't work [message #48914] |
Tue, 01 April 2008 09:10 |
sinco Messages: 1 Registered: April 2008 |
Junior Member |
|
|
Hello,
I launch Eclipse from command line window which symfony command works fine, so I ensure the path finding.
Problem ocurred when I launch symfony commands from contextual menu... symfoclipse do nothing, symfony console tab is empty...
Anyone could help me?
Thanks in advance
|
|
|
| Topic: New website using Symfony |
|---|
| New website using Symfony [message #49475] |
Tue, 08 April 2008 18:32 |
rickb Messages: 60 Registered: July 2007 Location: Hampshire, UK |
Member |
|
|
I released the first version of my new Symfony-based website at the weekend:
http://www2.whr.co.uk/
It uses
sfSimpleCMSPlugin
- this has been great 'out of the box'
sfSimpleNewsPlugin
- I have revised this substantially and I plan to release my revised version
sfImageReplacementPlugin
- likewise, I have revised this substantially and I plan to release my revised version
Other plugins include sfGuardPlugin, sfOpenIDPlugin, sfFeed2Plugin, sfMediaLibraryPlugin, sfPrototypePlugin, sfPropelAlternativeSchemaPlugin, sfPropelActAsNestedSetBehaviorPlugin, and sfCombineFilterPlugin (planned but not yet in use)
I'm also using Mootools, which I prefer over Prototype.
I wrote a "plugin-like" feature that is similar to the sfSimpleNewsPlugin and provides sidebar blocks containing news, teasers etc. As with my modified sfSimpleNewsPlugin, blocks can appear and disappear on calendar dates. Unlike sfSimpleNewsPlugin it supports I18n. I have been wondering whether it would actually be possible to merge sfSimpleNewsPlugin and my sidebar block module to make a single plugin that would handle date-constrained CMS news content. Just a thought at this stage.
[Updated on: Tue, 08 April 2008 18:32] Rick
|
|
|
| Topic: Contributing in Symfony Wiki |
|---|
| Contributing in Symfony Wiki [message #50206] |
Thu, 17 April 2008 14:20 |
lukaswoj Messages: 4 Registered: May 2007 |
Junior Member |
|
|
Hello
I have suggestions about one of the Wiki Pages:
http://trac.symfony-project.com/wiki/SymfonyAndPDT
I'm not sure what should I do.
Should I try to contact author of that Page or should I just Edit that Page and change what I think is wrong ?
Best regards
Łukasz Wojciechowski
|
|
|
| Topic: php action links passing javascript (jquery) generated variables |
|---|
| php action links passing javascript (jquery) generated variables [message #56250] |
Tue, 15 July 2008 18:10 |
tatanajllo Messages: 8 Registered: July 2008 |
Junior Member |
|
|
Hi I really need your expertise on this.
I'm trying to link to an action but before going to the action I need to get the variables from a javascript.
To better explain:
in my module success:
<div class = 'navigation_select'><a onClick="createadNzone()" href="#">Create</a></div>
in my .js file:
function createadNzone()
{
var load_week = $("#navigation_week").selectedValues();
$.ajax({
type: "POST",
URL: "/navigation/addadNzones",
data: "load_week="+load_week+""
});
}
in my action:
public function executeAddadNzones($request)
{
$newAdhere = new Ad();
$newAdhere->setLoadWeek($request->getParameter('load_week'));
$newAdhere->save();
$this->redirect('zone/edit?ad_key='.$newAdhere->getAdKey());
}
Nothing is happening here the ajax does post the values, but it does not redirect to the action... it stays the current page loaded.
Pls help.
|
|
|
| Forum: Feature requests |
|---|
| Topic: relative url & PropelCrud changes |
|---|
| relative url & PropelCrud changes [message #186] |
Mon, 07 November 2005 15:57 |
RoVeRT Messages: 146 Registered: October 2005 |
Senior Member |
|
|
Change PropelCRUD to use Propel and generate direct from schema.xml rather then using the mapBuilders
see attached crud_builder.diff.gz
and also
remove need to have "relative_url_root" in settings.yml.
in lib/symfony/controller/sfWebController.class.php
@@ -38,7 +38,7 @@
public function genURL($url = null, $parameters = array())
{
// absolute URL or symfony URL?
- if (!is_array($parameters) && preg_match('/^(http|ftp)/', $parameters))
+ if (!is_array($parameters) && preg_match('#^[a-z]+://#', $parameters))
{
return $parameters;
}
@@ -53,9 +53,9 @@
{
$url = $_SERVER['SCRIPT_NAME'];
}
- else if (SF_RELATIVE_URL_ROOT && SF_NO_SCRIPT_NAME)
+ else if (SF_NO_SCRIPT_NAME)
{
- $url = SF_RELATIVE_URL_ROOT;
+ $url = dirname($_SERVER['SCRIPT_NAME']);
}
in lib/symfony/helper/AssetHelper.php
@@ -155,10 +155,10 @@
function _compute_public_path($source, $dir, $ext)
{
- if (strpos($source, '/') === false) $source = '/'.$dir.'/'.$source;
- if (strpos($source, '.') === false) $source = $source.'.'.$ext;
+ if (strpos($source, '/') === false) $source = $dir.'/'.$source;
+ if (strpos(basename($source), '.') === false) $source = $source.'.'.$ext;
- return SF_RELATIVE_URL_ROOT.$source;
+ return dirname($_SERVER['SCRIPT_NAME']) .'/'. $source;
}
|
|
|
| Topic: TinyMCE 2.0 released |
|---|
| TinyMCE 2.0 released [message #892] |
Tue, 06 December 2005 19:33 |
Ian Messages: 383 Registered: October 2005 Location: Boulder, CO (USA) |
Faithful Member |
|
|
http://sourceforge.net/forum/forum.php?forum_id=516501
Just FYI in case you want to upgrade.
PS: i don't know, you might be already using it
[Updated on: Tue, 06 December 2005 19:35] Ian
█ Join us on IRC for LIVE support!
█ Report bugs here.
|
|
|
| Topic: Image i18n |
|---|
| Image i18n [message #2061] |
Tue, 24 January 2006 17:13 |
joesimms Messages: 38 Registered: December 2005 |
Member |
|
|
I read the tutorial for askeet which described an approach to i18n images, so that images in the templates can be altered depending on the culture. This can be found here:
http://www.symfony-project.com/askeet/23
Basically this approach is to place i18n images in a sub directory with the same name as the culutre and prefix the path to the image with this directory before it is sent to the image_tag helper.
I thought that was a great solution, but the only problem that i could see with hard coding the path was that some image translations (or alternatives) might not be available and in such cases, the default images should be displayed, whereas with the above approach, no image will be displayed.
I was wondering if it might be better to include this functionality automatically in the image_tag helper function. This helper would retrieve the users culture, check to see if the image exists in the culture specific image directory, if so it will return a tag with a path to this image, otherwise it will return a tag with the path to the default image sent as a parameter to the helper in the first place.
Just an idea for what it's worth.
Thanks
Joe
|
|
|
| Topic: Admin Generator Feature Ideas |
|---|
| Admin Generator Feature Ideas [message #6331] |
Wed, 17 May 2006 23:08 |
clutterskull Messages: 1 Registered: May 2006 Location: Portland, OR |
Junior Member |
|
|
Two things would be really helpful for admin generated pages:
1. In list view, the current page, filters, and sort options should be stored so that they are restored when the user returns to the list view from another page, ie the edit view, so that the user does not have to re-specify all the list criteria again.
2. It would be nice to have "Save and Next" and "Save and Previous" buttons on the edit view and have them use the criteria saved in part 1 above. This would aid iterating data sets.
Thanks, and excellent job on such a nice project. I don't think I'll make another PHP application from scratch again.
|
|
|
| Topic: integrated client side validation (based on prototype) |
|---|
|
| Topic: function such as hierselect of QuickForm |
|---|
| function such as hierselect of QuickForm [message #7345] |
Mon, 12 June 2006 10:16 |
dotlain Messages: 1 Registered: June 2006 |
Junior Member |
|
|
Hi,
I expect a function such as hierselect of QuickForm.
|
|
|
| Topic: [PATCH] Themes don't allow new templates. |
|---|
| [PATCH] Themes don't allow new templates. [message #7360] |
Mon, 12 June 2006 22:04 |
dizm Messages: 1 Registered: June 2006 |
Junior Member |
|
|
This patch upgrades the sfPropelAdminGenerator class to process all php files in the theme's template directory instead of a hard coded list. This is useful, for example, if you want to have a seperate createSuccess.php for your theme.
|
|
|
| Topic: sfThumbnail |
|---|
| sfThumbnail [message #7580] |
Sun, 18 June 2006 11:30 |
Gimler Messages: 83 Registered: March 2006 Location: Germany |
Member |
|
|
can you implement this to the sfThumbnail plugin?
Now you can set an explicit heigh or width.
Change line 262:
if ($this->sourceWidth > $this->sourceHeight)
to
if (($this->sourceWidth > $this->sourceHeight AND $this->maxWidth !== NULL) OR $this->maxHeight === NULL)
and 267
else if ($this->sourceWidth < $this->sourceHeight)
to
else if ($this->sourceWidth < $this->sourceHeight OR $this->maxWidth === NULL)
thanks
http://www.nevalon.de
|
|
|
| Topic: Link between two class |
|---|
| Link between two class [message #7879] |
Sun, 25 June 2006 18:00 |
franck.ra Messages: 7 Registered: June 2006 Location: Paris |
Junior Member |
|
|
Hello,
Is there anybody who knows how i could link two classes like we could do in SQL with two table (equal join)?
I want to return the result of the join of the two classes.
Thanks
|
|
|
| Topic: Doctrine or other DB integration/replacement status |
|---|
| Doctrine or other DB integration/replacement status [message #8100] |
Wed, 28 June 2006 22:00 |
happycloud Messages: 10 Registered: June 2006 |
Junior Member |
|
|
Hi all
I see from irc/dev that there is activity in integrating doctrine as well as a solution that Francois might have?
I'm getting ready to move forward with a large project and would like an idea of the direction. I do like doctrine a lot at first glance and I see the plugins in there though I am not sure of the status of the project.
Any ideas?
Thanks
Joshua
|
|
|
| Topic: Common AJAX/symfony table handling? |
|---|
| Common AJAX/symfony table handling? [message #8265] |
Mon, 03 July 2006 17:56 |
halfer Messages: 5523 Registered: January 2006 Location: West Midlands, UK |
Faithful Member |
|
|
Folks,
I have an issue upon which I'd love to hear from any interested symfonians. My present application will make use of reasonably complex tabular layouts for form controls and data, rather like the screenshot below.

Many of these screens will offer ways to insert and delete rows depending on the particular logic rules for each one. What I'd like to achieve is a mechanism to do this in Javascript (adding or deleting table rows using the DOM) or, if that is not supported because of browser/JS issues, automatically fall back to a POST operation to do it the old way.
Each operation could reflect changes in the database upon each click (ie AJAX if possible), or a screen might require the changes to be fixed using a 'Save' button (again, AJAX if possible) so this behaviour would be configurable on a per-instance basis.
The addition of DOM/AJAX to each screen would be a real usability boon, but doing it manually represents a substantial extra investment in time, and involves plenty of wheel re-inventing. It'd be great if there was a way I could describe the behavioural rules for each table, possibly in a YAML file, and then let an symfony-AJAX amalgam worry about applying them for each case.
I am tempted to look at this at some point, although I may look at it sooner if there are other folks who could use this belt-n-braces approach to their table-handling. Any thoughts welcome and appreciated
|
|
|
| Topic: Subversion Integration |
|---|
| Subversion Integration [message #8389] |
Thu, 06 July 2006 08:13 |
SentinelDietty Messages: 82 Registered: May 2006 |
Member |
|
|
Given that subversion is the recommended source control system, and that almost all open-source projects use a source control system, I would really like to see an integration system for symfony with Subversion. I would not have suggested this a day ago, however I just discovered the rsync integration, and it seems almost the same as what I'm looking for.
I don't know whether this is possible nor how much effort it would take, but I think it would be worth it.
"Doh!" - Homer Simpson
|
|
|
| Topic: default_culture |
|---|
| default_culture [message #8738] |
Wed, 12 July 2006 17:20 |
pezetgee Messages: 720 Registered: March 2006 |
Faithful Member |
|
|
Hi,
I've modified settings.yml and i18n.yml to change default culture from en to en_GB, but user still has culture en.
Is the default culture applied to a user automatically or do I have to set it up manually? If so, how do I get default culture settings?
Tnx
Peter
=====
Oops, sorry. I've posted this in the wrong forum...
[Updated on: Wed, 12 July 2006 17:21]
|
|
|
| Topic: Sub-actions |
|---|
| Sub-actions [message #10402] |
Fri, 18 August 2006 11:46 |
halfer Messages: 5523 Registered: January 2006 Location: West Midlands, UK |
Faithful Member |
|
|
Folks
I know there's been some talk recently about the structure of a symfony app in future releases, so I thought the following might be of interest. Individual actions can of course be separated out to individual class files, and this approach to my mind is to be applauded as it compartmentalises the logic in a clear structure. (As a side-note, I tend to find that substantial chunks of code to be executed in actions are best placed in autoloaded static classes).
I'd like to suggest that individual submit buttons within the same form (ie having the same url target) become sub-actions of some kind. Perhaps regexps defined in a yaml file might describe the form element name that must exist (and optionally the value it must have) for a specifically named action class to be autoloaded and executed?
eg a module-level yaml snippet of:
add:
field: add_(\d+)(?:s)?(\d+)?
value: .*
might execute the execute($field, $value) method defined in addSubaction.class.php, if the field and value regexps are matched.
Feedback/thoughts welcome.
|
|
|
| Topic: Running a single unit test class |
|---|
| Running a single unit test class [message #10880] |
Fri, 25 August 2006 07:45 |
gwylion Messages: 3 Registered: August 2006 |
Junior Member |
|
|
Hi,
I was wondering whether it would be possible to modify the SimpleTest task to be able to optionally specify a single unit test to be run. During development, I don't always want to run all the tests, every time.
See here for an example of how it could be done (second message down):
http://www.symfony-project.com/forum/index.php?t=rview&g oto=10879
Thanks!
|
|
|
| Topic: Control routing from database? |
|---|
| Control routing from database? [message #11158] |
Tue, 29 August 2006 20:14 |
Antik Messages: 106 Registered: July 2006 |
Senior Member |
|
|
Is it possible?
How to load routes from database to routing.yml before "match route"?
|
|
|
| Topic: backward conversion for culture date and time formats |
|---|
| backward conversion for culture date and time formats [message #11307] |
Fri, 01 September 2006 16:50 |
p.treutner Messages: 14 Registered: February 2006 |
Junior Member |
|
|
I'am experiencing errors using the input_date_tag helper with the javascript calendar. The problem is the input_date_tag helper uses the short date format ($value = $dateFormat->format($value, 'd')) which is d.M.yy for the czech (cs) culture. Because strtotime parses textual datetime descriptions in English only, you need to convert dates by yourself before you can call setAnything($v) methods in model classes.
There are to resolutions:
1) The quick and dirty one is to use the medium date format ($value = $dateFormat->format($value, 'p')) in the input_date_tag helper because strtotime can parse d.M.yyyy date successfully.
2) However I would appreciate some sort of standard mechanism, where I could specify a datetime description format, something like getDateAnything($format = '%x') in model classes.
[Updated on: Fri, 01 September 2006 17:01]
|
|
|
| Topic: Low Pro: Unobtrusive Scripting for Prototype |
|---|
|
| Topic: [Admin generator] Allow text option for remove link |
|---|
|
| Topic: forward method able to use a routing label with parameters |
|---|
| forward method able to use a routing label with parameters [message #12895] |
Wed, 27 September 2006 20:34 |
bullwinkle Messages: 37 Registered: April 2006 |
Member |
|
|
Hi
The forward method accepts only "module" and "action", for the most part (there is a third boolean parameter "isSlot"). It would be nice for the forward method to be able to accept a routing label WITH parameters.
For a forward wrapper that accepts a routing label, but can not do anything with possible parameters in the label, see:
http://www.symfony-project.com/snippets/snippet/97
|
|
|
| Topic: Object_select_tag and filter |
|---|
| Object_select_tag and filter [message #13080] |
Fri, 29 September 2006 23:55 |
look Messages: 1 Registered: September 2006 Location: Strasbourg - France |
Junior Member |
|
|
Hi all,
I want to display a list of item of a table ni database but i want to filter this.
I have tried to use the peer_method in option but i haven't getted result.
It's my code :
echo object_select_tag($animal, 'getFather', array("related_class"=>"Animal", "peer_method"=>"getMale", "include_blank"=> true))
I have created a method in :
class AnimalPeer extends BaseAnimalPeer
But the method cannot filterth list, i get always all items.
Thx for your answer.
|
|
|
| Topic: DHTML Calendar |
|---|
| DHTML Calendar [message #15311] |
Fri, 03 November 2006 15:49 |
thorzombie Messages: 4 Registered: November 2006 |
Junior Member |
|
|
Make the dhtml calendar theme configurable in some yml file. The actual aqua theme is sometimes a boring thing
|
|
|
| Topic: sfDoctrine, Doctrine_Locking_Manager_Pessimistic and a really cool sfFilter |
|---|
| sfDoctrine, Doctrine_Locking_Manager_Pessimistic and a really cool sfFilter [message #15484] |
Tue, 07 November 2006 02:56 |
pminnieur Messages: 14 Registered: April 2006 Location: Germany |
Junior Member |
|
|
@Admin: Oops, wrong forum - I'm sorry! Could you please move it to the correct one? Thank you very much!
----
Hi,
after switching to Doctrine I have missed some things, especially the behaviors (I wrote my own pessimistic lock behavior and some other things). Today, I tried my best to figure out how I can get pessimistic locking back to my models without adding a code partial over 50 times into each model class or to modify my actions to lock / release locks manually when they're called.
So, I wrote my very first filter - sfDoctrineLockingManagerPessimisticFilter - okay, the name sucks, but it's a working title right now - the whole thing is still not stable, but I expect to have it out of beta at the end of the week Here's a small copy/paste of an email I wrote earlier where I already explained how the filter works and what he does exactly:
| Quote: | It locks/unlocks my records automatically, guessing the model table class name by the camelized module name and triggering on configured events (edit/create/cancel) - but it's very customizable via a filters.yml file.
I'm used to have my modules named like my models (although the model names are camelized) - so that fact_stage module refers to the FactStage model. On my test environment the filter works but throws sometimes errors when it comes to the user ident or the timestamp (lol?) - mostly its line 104 of Doctrine/Locking/Manager/Pessimistic.php but i can't figure out what's wrong there.
|
As you can see, the filter is also documented inline and all the possible parameters are commented in my example filters.yml - so you can try your best to customize it for your needs (and I would like you to do that and give me feedback). Feel free to contact me for suggestions or error reports - thank you.
[Updated on: Tue, 07 November 2006 03:00]
|
|
|
| Topic: Automatically adding session id to log messages. |
|---|
| Automatically adding session id to log messages. [message #16833] |
Wed, 29 November 2006 23:34 |
gwylion Messages: 3 Registered: August 2006 |
Junior Member |
|
|
Is it possible to automatically add the current session id to the front of all Symfony log messages?
The reason I ask is that it would greatly ease debugging complicated interactions with the server, to be able to see only the log messages for the session you're interested in.
Just wondering.
|
|
|
| Topic: Plans for propel to accomodate db ALTER? |
|---|
| Plans for propel to accomodate db ALTER? [message #17399] |
Wed, 06 December 2006 17:10 |
davidbjames Messages: 42 Registered: April 2006 |
Member |
|
|
I was just wondering if there were any plans for propel (or doctrine for that matter) to allow db schema alteration without completely dropping the table (and losing the data). I know this has been discussed elsewhere.
My strategy would be something like this:
- Develop with sqlite
- Add test data
- Alter table as necessary (without losing test data)
Production:
- propel-build-schema (from the sqlite db)
- Change db connection to mysql
- propel-build-sql, -insert-sql
(at this point there would be no data)
- Get real data
- Alter table as necessary (without losing real data!)
|
|
|
| Topic: Truncate_text() option to truncate left side or center |
|---|
Truncate_text() option to truncate left side or center [message #19811] |
Tue, 16 January 2007 15:26 |
user2037 Messages: 7 Registered: January 2007 |
Junior Member |
|
|
It would be helpful if the truncate_text() function included an option to truncate only the left side or the center of the string.
Typically the first and last bytes are significant. Occasionally its helpful to see only the right-most bytes; for example: incrementing, numeric keys.
|
|
|
| Topic: Template file extensions |
|---|
Template file extensions [message #21866] |
Sat, 17 February 2007 01:48 |
joshua Messages: 5 Registered: December 2006 Location: Darlington, SC |
Junior Member |
|
|
A nifty feature would be the ability use .phtml extension for template files instead of just .php. Either have sfView look for both extenions by default or just the ability set it in a yaml config file.
Why? No particular reason other than I'v gotten use to using .phtml for template files.
|
|
|
| Topic: symfony 2.0 suggestions - YAML validator/builder plugin |
|---|
| symfony 2.0 suggestions - YAML validator/builder plugin [message #22043] |
Tue, 20 February 2007 10:59 |
halfer Messages: 5523 Registered: January 2006 Location: West Midlands, UK |
Faithful Member |
|
|
Just to help kick off the suggestions for 2.0, I'd like to see a web-based plugin to help validate and/or edit various yaml settings around symfony, to speed the process for advanced programmers and to lessen the learning curve for symfony beginners. In particular this might offer a mechanism to help encode bracketed logic (eg (x AND y) OR (z)) to validate screens, which can be fiddly when defining in YAML.
We've not upgraded to 1.0 yet but if I get some time once we do, and if this idea has not already been taken up by then, I may have a go at this myself. Comments/suggestions welcome.
http://www.symfony-project.com/trac/wiki/Symfony2Discussion
[Updated on: Tue, 20 February 2007 11:00]
|
|
|
| Topic: link_to and direct_access option |
|---|
| link_to and direct_access option [message #22650] |
Wed, 28 February 2007 11:33 |
youx Messages: 5 Registered: December 2006 |
Junior Member |
|
|
Hello,
Using Symfony 1.0, I've noticed that the direct_access option for link_to has disappeared since last versions.
Is there another way to do what this option was doing.
I actually use it in order to directly target files and want to avoid the /my_app.php prefix.
Maybe I missed something...
Thanks for the tips
|
|
|
| Topic: nice to have list |
|---|
| nice to have list [message #24389] |
Sun, 25 March 2007 08:28 |
Harald Messages: 9 Registered: March 2007 |
Junior Member |
|
|
Not everything must allways be discussed. This is just a list with features and changes, brainstorming, for inspiration. May be there are some features allready there and i didn't found them, or they are allready in work. May be i do some work on it ...
- "navigationHelper", with templates and multiple levels, marking active pages and so on.
- "(x)htmlValidator" checking html/xml text against DTDs, relayNG and xml schemas. It should support subsets.
- "dev_xhtml_checker" for the hole page displaying a status symbol (is valid, not valid) in the sfWebDebugBar.
- "requestArrayValidator", extensible with existing validators and some optional setup.
- "add_paragraphs textHelper" which adds valid <p> and <br />-tags on each text containing (x)html.
- "themes" - needs to rewrite some elements of constants.php by configuration files.
|
|
|