On 12/24/06, bgmill <[EMAIL PROTECTED]> wrote:
I'm running a cake app on 3 webservers (round robin dns) and 1 mysql
server right now, traffic yesterday was around 200,000 uniques and
400,000 page views.
What kind of hardware are you using?
Not to sound like a prick but 400,000 page views are
Is $data['id'] existing or not an empty value?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send e
On 12/24/06, keymaster <[EMAIL PROTECTED]> wrote:
Is there any developer documentation on the internals of cake?
http://api.cakephp.org/ ?
HTH
Tarique
--
=
PHP Applications for E-Biz: http://www.sanisoft.com
Coppermine Picture Gall
2006/12/25, Adrian Godong <[EMAIL PROTECTED]>:
I usually set up a default value just in case the user does not supply a
parameter. But I think your solution will be useful.
Do you think this is a CakePHP bug? Worth a report?
--
Olexandr Melnyk,
http://omelnyk.n
Hello, translators:
FYI:
If you are using FireFox, you can view other translations of
"translation.cakephp.org".
For example (Windows platform), download
1) Locale-Switcher Extension for Firefox and Thunderbird
http://benjamin.smedbergs.us/switch-locales/
(All you have to do is just click the
Pardon me. I got it now.
I usually set up a default value just in case the user does not supply a
parameter. But I think your solution will be useful.
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Olexandr
Melnyk
Sent: 25 Desember 2006 8:09
To: cake-php@googlegroup
Also, check if Cake doesn't get more than you need, and consider dynamic
unbinding where you don't need as much info as you get using default models'
options.
--
Olexandr Melnyk,
http://omelnyk.net/
--~--~-~--~~~---~--~~
You receive
Caching, and lots of it, and DB clustering/replication are definitely
the quickest fixes.
One minor point is to avoid using Cake's multi join SQL, which (I
believe) can literally add thousands of queries when a single one would
do.
In such cases, don't be afraid to use query() instead of findAl
Thanks Larry.
The chinese version is working great. Either UTF-8 or zh_cn. They are
all display correctly.
Happy Baking!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, sen
2006/12/25, Adrian Godong <[EMAIL PROTECTED]>:
I'm assuming that you don't want any 'User' added on the query?
What do you mean?
The problem is that there is no value on the right side of the comparison
operator in the where clause.
--
Olexandr Melnyk,
http:
I'm assuming that you don't want any 'User' added on the query?
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Kynlem
Sent: 25 Desember 2006 5:24
To: Cake PHP
Subject: findBy issue
Hello,
I've been having some problems with a findBy function.
Hi bgmill
Sounds like you have a good system/site there. Can you tell me what
sort of hardware it is running on?
Regards,
Langdon
I'm running a cake app on 3 webservers (round robin dns) and 1 mysql
server right now, traffic yesterday was around 200,000 uniques and
400,000 page views.
Cac
I may well write an article for the bakery after the holiday season -
are there any other high traffic sites known to be using cake?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
Hello,
I've been having some problems with a findBy function.
When I've called the method with a not empty string as argument, it
worked fine, but when I've passed an empty string, Cake generated the
query with the WHERE clause like:
WHERE (`User`.`username` = )
I've spent a bit of time searc
That's not what I was looking for, but thanks anyway...
Guess my language is not quite good in explaining.. :)
Anyway, I solved what I wanted...
I wanted to submit this form to a new page.
But I had some other AJAX calls in the same form that updates this form
(I am transfering some serialized d
So by "normal response when called by AJAX" you mean that the whole layout
should be returned? Then it's just a matter of setting your layout
accordingly, isn't it?
Or do you mean more like handling the action redirect?
If you are redirecting within the same controller then use setAction passin
I am talking about what the CakePHP framework offers you in terms of
scalability, things like:
1. View caching: you can cache views as a whole or even specify which parts
of a view should not be cached: http://manual.cakephp.org/chapter/view_cache
2. Model/Object caching: cache model queries or
Your situation sounds like a great source for a potential bakery article,
mainly for:
1. Understanding how CakePHP is behaving on a high-traffic/clustered server.
2. Giving a short tutorial on how you managed to add new servers and how it
impacted on your application.
Just a thought :)
-MI
-
I use both phpeclipse and Macromedia Homesite. I prefer eclipse for the
coding long hauls, and home site for quick and dirty editing.
One thing I did that helped a lot was to associate the .thtml extension
with php in the file preferrences of my editors. Bingo bango bongo,
this turned on the nat
On Dec 24, 4:01 pm, "Mariano Iglesias" <[EMAIL PROTECTED]>
wrote:
CakePHP is a framework that allows you to
easily develop your application thinking about scalability all the way, so
take advantage of that.
I understand how the MVC separation and strict coding conventions make
maintainability
I'm running a cake app on 3 webservers (round robin dns) and 1 mysql
server right now, traffic yesterday was around 200,000 uniques and
400,000 page views.
Caching is being used on some of the heavier hit controllers but all in
all, load is minimal across the board -- we could easily handle 2 or
Yes we're close, but Santa's calling, so we'll have to deliver the file
tomorow...
merry christmas to all of you.
Olivier Percebois-Garve a crit :
You'll receive the french version pretty soon I think,
we are debating some points and then Bruno Baudry should send you the file.
Larry E. M
Larry E. Masters aka PhpNut ha scritto:
Claudio,
Updated can you check the site again?
Larry,
everything is ok.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send ema
Thanks for answer, but I wasn't asking for that. I used Ajax.Updater
before and what You have described I already used.
I will try to explain differently:
If I call my action like usual (ie. non-ajax):
http://myserver/mycontroller/myaction/
I get "normal" response. OK?
I want to have that norm
But you are just asking for a normal AJAX update, why are you trying to do
it by yourslef? DRY baby ;) Try this:
index.thtml:
div('updateableDiv'); ?>
...
submit(' Publish selected ', array(
'update' => 'updateableDiv',
'id' => "p
A simple way to let a webapp scale is to moved session's and db's data
to cookies as much as possible.
olivvv
Nimrod A. Abing wrote:
On 12/24/06, keymaster <[EMAIL PROTECTED]> wrote:
.. just dreaming, but..
If one wanted to use cake to build an app which is scalable to the
extreme, ie.
Hi all,
I have this index.thtml where I have XMLHTTPRequest call to my
/editors/topics_publishing action. This call is working - i get the
data in /editors/topics_publishing action.
What I want now is, after calling this action, to render this view like
a new page, not like xmlhttp Respond.
Wh
Check this out, it's not that high of an explanation but provides some
useful tips on how to improve PHP performance:
http://talks.php.net/show/hpp
For some reason the creators of that presentation decided that they don't
support IE so you'll need to use FF or something else to view it.
In reg
Merry Chirstmas, Happy Hanukkah, and a Wonderful New Year for all CakePHP
bakers.
May this year be the one where CakePHP establishes itself as the greatest
framework of all times ;)
-MI
---
Remember, smart coders answer t
You'll receive the french version pretty soon I think,
we are debating some points and then Bruno Baudry should send you the file.
Larry E. Masters aka PhpNut wrote:
Below is a list of the files we currently have and need translated still.
core.po files need to be translated:
Danish
(https://s
Merry Christmas! :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
F
Langdon Stevenson <[EMAIL PROTECTED]> wrote:
> I think that I would likely just replicate the entire application
> across multiple web servers, and hand out the requests in a round
> robin to the web servers.
Or maybe FastCGI's load balancing?
> I would be very interested to hear anyone else's t
I have found many great examples for associations but I haven't find
and example for multi users relate to one project with different title
for each user
I have table
users
with the fields
( id, username, password, email, name)
and table
projects
with fields
( id, team_id, project_title, status
On 12/24/06, keymaster <[EMAIL PROTECTED]> wrote:
.. just dreaming, but..
If one wanted to use cake to build an app which is scalable to the
extreme, ie. flickr.com or yourtube.com or myspace.com, how would you
do it?
http://www.onjava.com/pub/a/onjava/2003/10/15/php_scalability.html
http:/
Hi Guys,
Merry Chirstmas~!
Wish you good luck in the coming year :)
--
此致
敬礼!
杨苏立
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email t
It's an interesting question. I am working on an application that (if
it works out for the client) may grow to support thousands of users with
requirements for high availability.
If it ever grows that far, then I expect that we will need to redevelop
at least some parts of the application .
There exist already a Chinese group:
http://groups.google.com/group/cakephp-cn
--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group
37 matches
Mail list logo