Well, consider a single database table that looks something like this:
From_address
to_address (possibly multiple addresses comma-seperated)
headers
spam_report
subject
And we would have millions of those records in the database. Repeated
entries, especially on to_address, means the data is huge
On Mar 8, 3:26 am, Gareth McCumskey wrote:
> We had a speed increase because we had a lot of text searches in the old
> system, all going through text fields where the same values were repeated
> over and over. Its therefore a lot faster to search a much smaller table,
> where the text fields a
We had a speed increase because we had a lot of text searches in the old
system, all going through text fields where the same values were repeated
over and over. Its therefore a lot faster to search a much smaller table,
where the text fields are unique, and find the value once, then use an ID
comp
I wanted to set a default value for a hidden input. I'm using symfony
1.1, so I can't use setDefault(), as it was only introduced in 1.2.
To learn more about sfWidgetFormInputHidden, I look here:
http://trac.symfony-project.org/browser/branches/1.1/lib/widget/sfWidgetFormInputHidden.class.php
On Mar 7, 2:06 am, Gareth McCumskey wrote:
> Greetings all,
>
> We have recently released a project we have been working on for some months
> now as an Alpha version and while we have focussed primarily on bug fixing
> as well as feature completion for the next Alpha release coming up in a
> we
On Mar 7, 1:16 am, Ant Cunningham
wrote:
> layout.php is just a wrapper for the the template and contains the
> section of the html, so all things that are added to the head are
> actually added to layout.php by the include_metas() call. so if in
> apps/applicationname/config/view.yml you do:
$c = new Criteria();
$c->clearSelectColumns();
$c->addSelectColumn(MyPeer::MY_COLUMN):
$rs = MyPeer::doSelectRS($c);
On Mar 8, 2009, at 3:29 AM, torso wrote:
>
> Hi
>
> I how I do this query with propel, not raw sql query, but with
> cirteria. Select FLASH from FILES
> I need to get select optio
On Mar 7, 8:42 pm, Sid Bachtiar wrote:
> I'm looking for it too, to be integrated with sfSimpleBlogPlugin. I
> don't think there is one at the moment.
>
> On Sun, Mar 8, 2009 at 2:38 PM, LawrenceKrubner wrote:
>
> > I haven't been able to find a plugin that generates a Google Sitemap.
> > (or r
I'm looking for it too, to be integrated with sfSimpleBlogPlugin. I
don't think there is one at the moment.
On Sun, Mar 8, 2009 at 2:38 PM, Lawrence Krubner wrote:
>
> I haven't been able to find a plugin that generates a Google Sitemap.
> (or rather, sitemap for those search engines that use t
I haven't been able to find a plugin that generates a Google Sitemap.
(or rather, sitemap for those search engines that use the format
developed by Google). Is there one?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
When it was suggested to me by my sysadmin he did actually use the
term "scan" - however, I'm not convinced removing the file would stop
Apache looking for one. But, I could be wrong - it *has* happened
before ;)
Certainly, it doesn't make sense to leave you rewrite rules in it
unless you
Make extract ones. Then move messages.xml to i18n folder, delete fr
folder, rename file to messages.fr.xml Try tu use extract after this.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post
Just an update to this, Lee's advice fixed my first question.
My second question(fixture load error) was because in my schema.yml
file, I had defined email's type as a varchar instead of a string.
Whoops! Apparently that doesn't cause an error, *and* creates the proper
field. You just can't sav
I 've read that one before. But I wonder... Is it the reading that is
bad about .htaccess? I would think that it is the scanning process
that slows down the request. When the usage of .htaccess is allowed,
apache will check on every request if a .htaccess is present. I you
request an image, li
I couldn't agree more.
Did I already mention moving the .htaccess rules into the apache
httpd.conf? that way it doesn't get read on every single request...
On 7 Mar 2009, at 15:00, James Cauwelier wrote:
>
> Hi,
>
>
> There are some good ideas in this post, but they don't have a lot of
> valu
Hi
I how I do this query with propel, not raw sql query, but with
cirteria. Select FLASH from FILES
I need to get select options with flash file name.
I have tried this:
add to FilePeer with function name getSortedFlash:
$c = new Criteria();
$c->add($c->getColumnName(FilePeer::FLASH));
$rs =Fi
Thanks for clarifying :-)
Richtermeister wrote:
> Hi all,
>
> as far as I can see none of these explanations are 100% accurate.
> If I go with the previous example, the issue is that the $book -> save
> () call automatically issues a call to $author -> save().
> This in turn WOULD issue a call t
Hi all,
as far as I can see none of these explanations are 100% accurate.
If I go with the previous example, the issue is that the $book -> save
() call automatically issues a call to $author -> save().
This in turn WOULD issue a call to $book -> save() and you'd have a
neverending back & forth.
i have the same problem!!
What is the good way? plz
On 5 fév, 22:25, Timmy wrote:
> I have two forms form 1 and form 2. Form 2 is embedded into form 1. On
> save form1 must be saved as a new row and therefore recieving a
> primary key, Afterwards this foreign key needs to be injected into
> form
Hi,
There are some good ideas in this post, but they don't have a lot of
value if you haven 't identified your bottelenecks first. Did you run
this website on an isolated VPS or dedicated server? In that case,
you could look at the processes taking the most resources. If your
database is in f
Yes, we found and reported this bug a while ago, and there is a branch
in the sfDoctrineActAsTaggablePlugin svn that includes our fix.
Unfortunately the maintainers have not yet merged it into the trunk. I
guess they are a bit busy right now.
--
Tom Boutell
www.punkave.com
www.boutell.com
--~-
Hi,
i also had this kind of problems on a big site (120 Mysql Tables) with
aprox. 10 page views a Day.
The best way to get the site running fast is:
Use caching with memcached (sfMemCached class)
We had a lot of problems with the standard file cache and SqliteCache.
Use xcache or an other b
Hello,
Server side performance can be done check by reading symfony log :
- check there not too many queries (use left join)
- do not use too many include partial as every time a sfPartialHelper is
created. Sometime it is just fine to do an include (not nice, but in a loop
this can dr
Are we talking about perceived performance or actual performance? Most
of the time it is the front end that floors the perceived performance.
Perhaps you should have a look at this Yahoo research, it can be very
helpfull for performance improvements:
http://developer.yahoo.com/performance/rules.h
You could set the messages on the view side in your template, e.g.:
getWidgetSchema(); ?>
getValidatorSchema(); ?>
setHelps(array('my_widget' => __('My widget
help'))); ?>
setLabels(array('my_widget' => __('My widget
label'))); ?>
setMessages(array('required' => __
('My widget required'))); ?>
D
Hi,
Do you already take a look to :
http://www.symfony-project.org/book/1_2/18-Performance
?
Lots of good practice to learn in this page !
Quick things I often use to improve performance :
- use sf cache a lot ! (but cleverly)
- use a php accelerator (APC, eAccelerator)
- use a mify js/css
- us
26 matches
Mail list logo