[symfony-users] Generating model layer from REST methods

2011-05-25 Thread Simon Cast
Hi, We are building an API layer as the interface to all the data in our platform. This would extend to the web site using this API to fetch data. Symfony currently builds model files by looking at the DB schema. Is there a way to generate model files in a similar manner using API methods?

[symfony-users] Forms escaping quotes on input

2011-04-10 Thread Simon Cast
I recently upgraded to 1.4.12 and this has produced the odd error where form input is escaping quotes on entry to the system. By this I mean I echoed the clean bound form and the text field showed the escaped text e.g. \This is quoted\ Any idea why this is happening and what I can do to

[symfony-users] Symfony creates underscore index tables when delete looks for classname_index tables

2010-10-28 Thread Simon Cast
Hi, I was testing out an application I am building when I came across a rather odd behaviour with a table that has a CamelCase class name and has a searchable behaviour. Basically, when the index table is created Doctrine added a _ between the camel case. So the index table became

[symfony-users] actAs timestampable

2009-12-13 Thread Simon Cast
Hi, I upgraded a 1.2.x application to 1.3.1 yesterday and found that the actAs fields have gone from required= false to required= true. I don't see it documented in the What's New of either 1.3.1 or Doctrine 1.2. Has anyone else come across this issue? Is there an option for inclusion in the

[symfony-users] Improve plugin:install method to not use PEAR

2009-12-13 Thread Simon Cast
Hi, Installing plugins via the plugin:install method seems to require more time battling PEAR than it should. Would it be possible to update the plugin:install method to use SVN or similar technique (rsync perhaps?) that avoids using PEAR? The biggest problem I see with using SVN is possible

[symfony-users] Re: Separating Presentation from Symfony

2009-11-19 Thread Simon Cast
Yes but he got stuck on the 100 pages about the framework and honestly didn't want to argue. On Sep 29, 10:35 pm, Eno symb...@gmail.com wrote: On Tue, 29 Sep 2009,SimonCast wrote: I written the application to use the full Symfony framework however the person responsible for the UI doesn't

[symfony-users] Re: Separating Presentation from Symfony

2009-11-19 Thread Simon Cast
No, they aren't using a framework at all and simply used PHP with JS. The frontend guy is more designer than dev. On Sep 30, 4:06 am, Ant Cunningham ant.cunning...@gmail.com wrote: SimonCast wrote: Why? Quite simply my programming skills/experience doesn't extend to doing what you talk about

[symfony-users] Re: Separating Presentation from Symfony

2009-11-19 Thread Simon Cast
, 7:15 pm, Simon Cast simon.c...@gmail.com wrote: Hi, Thanks for the info. Having read the manual some more along with the Jobeet Tutorial it seems the best way to do this is to use the full Symfony MVC but instead of rendering HTML render JSON/XML. http://www.symfony-project.org/jobeet/1_2

[symfony-users] Re: Separating Presentation from Symfony

2009-09-29 Thread Simon Cast
, Eno symb...@gmail.com wrote: On Mon, 28 Sep 2009, Simon Cast wrote: One pitfall that I haven't resolved is how the HTML/JS pages and Symfony are going to site on the same server and play nice together. I could see problems with going towww.example.comand Symfony index.php taking over

[symfony-users] Re: Separating Presentation from Symfony

2009-09-29 Thread Simon Cast
pages return json and js renders the html. Might be usefull or not. If  you could explain your need a little better (forces / constraints) I think you would get a better focused help. 2009/9/28 Simon Cast simon.c...@gmail.com Hi, I'm working on a project where we are going to not use

[symfony-users] Re: Separating Presentation from Symfony

2009-09-29 Thread Simon Cast
symfony's view/templating system why not just use Propel on its own, tack on your own actions class, etc and let that HTML you are talking about do the rest. Then you don't have to worry about hacking symfony up to do half its job. On Mon, Sep 28, 2009 at 5:55 PM, Simon Cast simon.c

[symfony-users] Separating Presentation from Symfony

2009-09-28 Thread Simon Cast
Hi, I'm working on a project where we are going to not use the presenation/ view layer of symfony to render pages. All the actions, business logic and database access will be handled by Symfony but the presenation/page generation will be handled using straight HTML/JS (don't ask). Symfony in

[symfony-users] Re: Status of PayPal plugin(s)

2009-06-19 Thread Simon Cast
Hi, This sounds very interesting. I think if it can tie in Amazon Payments along with other providers it would make Symfony a more attractive framework. The lack of a payments module I find is a detriment to quickly deploying pay-for apps. On that note, I think it is worthwhile to include

[symfony-users] Exporting using sfPhpExcel displays in browser rather than to file

2009-05-08 Thread Simon Cast
Hi, I've been using the sfPhpExcel in order to export data to Excel and PDF. The creation of the data object works fine and I've tested that the data is indeed in the object. However, when I go to download the file the results are shown as symbols in the browser in the case of Excel2007 and

[symfony-users] Observe_field not producing ajax call.

2009-01-08 Thread Simon Cast
Hi, I am currently developing an application using Symfony. So far it has gone reasonable well but I hit a snag today that has me stumped. I have a form displayed on the screen and I am using the observe_field () helper to make an ajax call to a function that updates a calculation and returns

[symfony-users] Re: Observe_field not producing ajax call.

2009-01-08 Thread Simon Cast
:48 pm, Simon Cast simon.c...@gmail.com wrote: Hi, I am currently developing an application using Symfony.  So far it has gone reasonable well but I hit a snag today that has me stumped. I have a form displayed on the screen and I am using the observe_field () helper to make an ajax call

[symfony-users] Re: Observe_field not producing ajax call.

2009-01-08 Thread Simon Cast
/ Scriptaculous into the directory, clear the cache and everything is now working. Regards, Simon On Jan 8, 6:15 pm, Simon Cast simon.c...@gmail.com wrote: I did some more testing. I disabled the jQueryReloadedPlugin and tried using only the Prototype/ scriptaculous plugin.  None of those functions work