you're modifying the DOM before IE is ready. it's hard to recommend a
fix without being able to see the generated code, but generally you
can't touch the DOM until the onready event fires: $(document).ready
(function() { call_dom_modifying_functions(); });
On Sep 21, 2009, at 11:48 PM, Mic
On Sep 21, 3:02 pm, Tom Boutell wrote:
> A more interesting question is: "if we're going to use MVC frameworks
> anyway, do we still gain anything worth having by using loosely typed,
> interpreted languages like Ruby and PHP? Assuming for a moment an
> equally good framework implementation fol
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@goo
Loose-typing brings a lot of things to the party - allowing approaches to
problems that are otherwise difficult to solve.
Take linq as an example. Traditionally one of the bottlenecks in
applications - esp distributed or loosely coupled applications is
data-processing.
Paradigms such as DI
I am using sfWidgetFormJQueryDate for a date widget on a form. This
form works well in FireFox, Safari and Google Chrome. However, the
page won't load in IE 7 (have not yet checked in IE 8). The page
begins to load, and gets to the point where the date widget is, and
then IE 7 gives a pop up wind
As far as I know, hosts file does not support wildcard domains.
What you are doing is correct.
Pablo
On Fri, Sep 18, 2009 at 3:48 AM, Davide Borsatto wrote:
>
> Hi everybody,
>
> Lately I've been doing many experiments with symfony, creating
> differents projects for each of them.
> I usually
you can also have a look at
http://www.sfblog.fr/page/symfony-et-les-vhost-dynamique
it's in french but the apache configuration should be enough to
understand.
On Sep 19, 3:55 am, kp wrote:
> Sounds like what you are doing is correct, and it's the way I do it
> (for local machine development)
If I have a table of 'users', with a table of 'addresses', and a table
of 'ramblings', how would I get either a combination of an address and
a user forms on a pabe, or a user and a rambling form on a page. Any
automatic way, like in the jobeet tutorial for single table/objects?
--~--~-~--
I agree completely, link the API pages to the jobeet tutorial.
And I agree, there should be more level of tutorials.
For instance:
(Until noted, just plain text in HTML, no fancy looks:)
(All of these sand boxed)
The Hello world one Without a template.
The Hello wolrd one WITH a template.
T
Fabien Potencier wrote:
>
> Simone Fumagalli wrote:
>
> The templating component will be used in Symfony 2 for the view. It's
> not used by symfony 1.
So ... I can't use with Symfony 1.2.8 unless I follow this guide:
http://components.symfony-project.org/templating/trunk/book/01-Templating-In
On Mon, 21 Sep 2009, Dhaval Parekh wrote:
> I m new bee in Symfony.
> I've installed symfony successfully but don't know exactly how to run
> in XAMPP,
> can anyone tell me?
http://www.symfony-project.org/book/1_2/
--
--~--~-~--~~~---~--~~
You received thi
The solution I use is to generate in the action inline css style
like for example
$width = ... ;
$height = ... ;
$this->sizeDiv = "width:$width;height:$height";
and then in the template include this styl;e:
Bert.
On 18 sep, 22:16, Georg Gell wrote:
> Hi,
>
> how can I include somecustomsty
I've thought about this too. But C++ is full of scary dangerous
backwards compatibility systems-programming-oriented features that
make safe programming harder and make little sense in a web
application.
I think your argument makes more sense if you're talking Java (or C#)
vs Ruby and PHP.
A mor
I've thought about this too. But C++ is full of scary dangerous
backwards compatibility systems-programming-oriented features that
make safe programming harder and make little sense in a web
application.
I think your argument makes more sense if you're talking Java (or C#)
vs Ruby and PHP.
A mor
Hello friends,
I m new bee in Symfony.
I've installed symfony successfully but don't know exactly how to run
in XAMPP,
can anyone tell me?
Thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony
-- Forwarded message --
From: Raphael
Date: Mon, Sep 21, 2009 at 2:59 PM
Subject: Set timeout sessions
To: symfony-d...@googlegroups.com
Hy guys,
why in all files, I find it?
user:
class: myUser
param:
timeout: 1800
logging: %SF_LOGGING_ENABLE
Right, thank you
Davide Borsatto schrieb:
> Slots are the solution to your problem, read about them in the docs
>
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group
thanks eric, from what u say, i changed all the relations by adding
the prefix UrbanMusic and it worked. But i now get the logic behind
it. thanks
On Sep 21, 3:49 pm, erikms wrote:
> Hi el-Sid,
> from what I see, you have a *relation* to a table Tracks, but not the
> actual table.
> -Erik
>
> >
Simone Fumagalli wrote:
> Hello. I've used Symfony for a couple of projects a couple of years
> ago so now my symfony knowledge is a bit rusty.
>
> I was investigating th new features for a new project I've to start
> and I saw components (http://components.symfony-project.org)
>
> My questions
Hi all,
I have a page with 6 queries. "Doctrine (database)" Timer in the Debug
Toolbar tells me those queries take 0.06 ms. Strangely fast...
So I measured them myself and found very different (and more usual)
durations for each query : 5/10 ms.
Does anybody have the same problem ?
Is it a k
Hi Klemens,
The queries you're talking about come from Doctrine itself, and its
"lazy" behaviour. For example, if you do sth like "$albums =
Doctrine::getTable('Album')->findAll();", it will only take all the
rows from the table 'album'.
Now if you do sth like '$artist_name = $album->Artist->nam
Hello. I've used Symfony for a couple of projects a couple of years
ago so now my symfony knowledge is a bit rusty.
I was investigating th new features for a new project I've to start
and I saw components (http://components.symfony-project.org)
My questions is:
Templating components is used to
Was it useful ?
Regards
Deepak
On Sun, Sep 20, 2009 at 11:32 PM, DEEPAK BHATIA wrote:
> image_tag('/misitio/web/images/image.jpg,array('border' => "0",'alt'
> => 'Home', 'title' => 'Home'));
>
>
> or
>
>
>
> Given in chapter 7.
>
> http://www.symfony-project.org/book/1_2/07-Inside-the-View-La
On Sun, 20 Sep 2009, David Channon wrote:
> The bit to notice is the time stamps on the log entries for loading
> the routes - they are exactly 30 seconds apart each time.
>
> The site loads quickly if you symfony cc - it appears to be when the
> site is re-using the existing cache.
>
> All we
Aye - there was even an Apache distro for the range with embedded php.
I think it's fallen out of support though.
On Mon, 21 Sep 2009 18:03:42 +0200, Eno wrote:
>
> On Mon, 21 Sep 2009, david wrote:
>
>> There's also fit for purpose. While PHP on a mobile phone is possible -
>> it's not the b
On Mon, 21 Sep 2009, david wrote:
> There's also fit for purpose. While PHP on a mobile phone is possible -
> it's not the best idea :)
Though some apps on the Nokia Nxxx tablets are written in Python :-)
--
--~--~-~--~~~---~--~~
You received this message
On Mon, 21 Sep 2009, erikms wrote:
> OK, I think I understand that...
> However, the default indexSuccess and showSuccess both use url_for
> ('my_module/show?id='.$my_object->getId())
Maybe that should be:
('/my_module/show?id='.$my_object->getId())
?
--
--~--~-~--~~--
> True.
>
> Language does not matter anymore - use the tools you're most
> comfortable and most productive with.
>
There's also fit for purpose. While PHP on a mobile phone is possible -
it's not the best idea :)
--~--~-~--~~~---~--~~
You received this message
On 21 Sep 2009, at 15:49, Fabian Lange wrote:
>
> On Mon, Sep 21, 2009 at 4:44 PM, Lee Bolding wrote:
>> The myth that PHP doesn't scale is old, and no longer plausible.
>
> I did not say say.
> I said that you can have java architectures that scale better than php
> architectures,
> and you ca
Hi
On Mon, Sep 21, 2009 at 4:44 PM, Lee Bolding wrote:
> The myth that PHP doesn't scale is old, and no longer plausible.
I did not say say.
I said that you can have java architectures that scale better than php
architectures,
and you can have php architectures that are better than java archite
On 21 Sep 2009, at 14:50, Fabian Lange wrote:
> But you can also have the same situation with Java and Spring which
> scales much better than a coupled php architecture.
That line is becoming more and more blurred with the advent of
memcache, JSON and proper OO PHP(5) frameworks.
Some projec
Frameworks have been around since developers started developing - since
assembly language (the bios can be thought of as a framework). MS Word is
a framework. Wordpress, joomla, SMF is a framework. Some are specific to
a problem domain, some aren't. Frameworks were around even before the
FYI, I have finally made an official P'unk Avenue blog post about
pkHtml::simplify with a more complete discussion that focuses just on
that feature:
http://window.punkave.com/2009/09/21/a-better-strip_tags-pkhtmlsimplify/
Thanks for the kind words about the code!
On Sep 16, 3:57 pm, Jake Barne
On Mon, 21 Sep 2009, pcummins wrote:
> With the introduction of PHP frameworks and widespread use of MVC
> pattern in web development, has anyone ever wondered why we aren't
> simply writing our web applications in C++, and using 'templates'
> files for view delivery?
C++ is a large overly-compl
Hi
On Mon, Sep 21, 2009 at 3:28 PM, pcummins wrote:
> how far away is a good PHP framework from C / Java?
incomparable.
I do have my thoughts, but I cannot follow yours.
First there is a difference between scripting and non-scripting
languages. Which in reality is often: "I cannot see my sourc
OK, I think I understand that...
However, the default indexSuccess and showSuccess both use url_for
('my_module/show?id='.$my_object->getId())
which, IIUC, gets translated by the routing mechanism to my_module/
show/id/1
which in turn is not understood by any of the default routes?
So then I eithe
XD
On Tue, Sep 22, 2009 at 1:28 AM, dziobacz wrote:
>
> I would like to say that Symfony is very, very good and future
> framework. Thx Symfony I could learn very fast ASP.NET MVC (not
> ASP.NET but ASP.NET MVC) - these two frameworks have got many similar
> things.
> While Zend Framework is far
I would like to say that Symfony is very, very good and future
framework. Thx Symfony I could learn very fast ASP.NET MVC (not
ASP.NET but ASP.NET MVC) - these two frameworks have got many similar
things.
While Zend Framework is far, far away Symfony and ASP.NET MVS. In Zend
you must almost everyt
With the introduction of PHP frameworks and widespread use of MVC
pattern in web development, has anyone ever wondered why we aren't
simply writing our web applications in C++, and using 'templates'
files for view delivery?
It seems like a pretty interesting cycle.
Internet begins
High level lan
On Mon, 21 Sep 2009, erikms wrote:
> However, when I try to 'show' one of those records (links provided by
> Symfony), I get the error 'action 'show/1' does not exist.
> Now I had supposed that 'show' meant that 'executeShow.php' would be
> handling the request, and that the rest of the URL would
Hi el-Sid,
from what I see, you have a *relation* to a table Tracks, but not the
actual table.
-Erik
> relations:
--> Tracks:
> local: tracks_id
> foreign: id
> type: one
> foreignType: many
> onDelete: cascade
--~--~-~--~~~---~--~--
Hi
I wanted to know if generating subdomains on the fly is possible ?
e.g. a user specifies a username and submits the form and on the
server side the controller creates the subdomain based on the username
- dagger.mysite.com ?
and if dagger.mysite.com is any better then mysite.com/dagger ?
tha
Hello
it is such an possibility to define the route
{ModuleName}:
class: sfPropelRouteCollection
options:
model: {ModelName}
module: {ModuleName}
prefix_path: {Prefix}
column: id
with_wildcard_routes: true
and put somwhere
Hi all,
I am fairly new to Symfony (only in day 14 of the tutorial), but I
tried to set up my own project as suggested...
I have a datamodel, it loads ok, I get the default index page with a
listing of my two lines fixture data.
So far so good.
However, when I try to 'show' one of those records (l
Thx for your help lee.
So if i understand correctly the spyFormBuilder, it only give me a
abstract logic to the form problem without saving any data at all. I'm
must implement a save method ?
So for the form system, it's ok.
Do you think a system like that could be used with the generator as
well,
the following query is passed to my function by a criteria:
(SELECT * FROM locations LEFT JOIN locations_sezioni ON
(locations.LOCATION_ID=LOCATIONS_SEZIONI_LOCATION_ID) where
(locations_sezioni.LOCATIONS_SEZIONI_SEZIONE_ID<>4 AND
locations_sezioni.LOCATIONS_SEZIONI_SEZIONE_ID<>5) AND
locatio
There's actually an alternative to sfDynamicFormPlugin, which I'm
actually using as a base for sfDynamicFormPlugin - sfSpyFormBuilder.
Have a look, it may well be able to sort out your problem.
As for sfDynamicFormsPlugin, it's still in progress (there's not even
any code that I've committe
Hello here is my problem:
Example:
I've got a form with three fields "firstname, lastname, dob" for
client X.
Now the client Y want an other field like "sex" but the client X
didn't want it.
So i think my problem is quite explicit with this example. Do you know
a pattern like datamask that a can
I think symfony is brilliant, If you need a framework which can scale
to enterprise level websites with fast prototyping and a flexible ORM,
then you don't need anything else. If you think it's complicated, then
maybe you're in the wrong place.
If you want to build a small website with everything
Christopher,
thank you for your tips. The error was caused by the plugin sfAdminDash.
I found this line in
/plugins/sfAdminDashPlugin/modules/sfAdminDash/actions/actions.class.php :
$this->getUser()->setCulture('pt_BR');
When I change it by :
$this->getUser()->setCulture('en');
Everything worke
50 matches
Mail list logo