Hi Cakes,
Today I use ab to give a test of my cake site, there are so many failed
requests in the output log. I have no idea how to fix it? Can you give some
ideas or suggestions on this? Thanks in advance! The site was deployed on my
local machine, so I can eliminate bandwidth factor firstly.
ab
On Fri, Jun 26, 2009 at 2:24 PM, Miles J wrote:
>
> I have tried these 2 ways, and neither have worked:
>
> echo $javascript->link('/vendors/markitup/jquery.markitup.pack.js',
> true);
> echo $javascript->link('vendors.php?file=/markitup/
> jquery.markitup.pack.js', true);
I'm pretty sure you lea
Here's my problem, i have something like this in my DB:
A hasMany B
B HABTM C
I have a page to edit A and B at the same time, I can add or edit
multiples instances of B to A using a saveAll, but i don't know how to
manage relations with model C. The only way i've found if, after doing
the saveAll
You don't need to use C to run a large webapp. I am a huge fan of C++
and use it myself, but you don't need to. You can build great CakePHP
apps that scale well:
A for instance, from a client app:
mysql> select count(*) as number_of_tables from
information_schema.tables where table_schema = 'c
I've not found MVC frameworks to scale well regardless of the one you
pick. Knowing how many records you've got isn't all that helpful
either because it's how you interact with them that affects
performance.
CakePHP is as good as any MVC out there though if you're set on using
one.
As others ha
The DS documentation is still absent from the book. Is there a
canonical list of required methods/attributes when building custom
DSs? So far I found those two posted by gwoo
http://bin.cakephp.org/saved/18892
http://bin.cakephp.org/view/925615535
On Jun 26, 1:04 pm, jperras wrote:
> Use a cust
Hi
I have a category table using tree behaviour and a product table which
has many categories.
The categories looks like this
All Products
-parent a
--child a
--child a
-parent b
--child b
--child b
My products are then using the child categories. I want to use the
url /site/parent-a/ and then
Hi
I have a category table using tree behaviour and a product table which
has many categories.
The categories looks like this
All Products
-parent a
--child a
--child a
-parent b
--child b
--child b
My products are then using the child categories. I want to use the
url /site/parent-a/ and then
Perhaps you should figure out what dependent does, because I believe
your assumptions are wrong.
On Jun 26, 3:40 am, Alexandru Ciobanu wrote:
> On 06/26/2009 12:59 AM, Miles J wrote:> 'dependent' => true,
>
> Try setting dependent to false.
--~--~-~--~~~---~--~~
I have tried these 2 ways, and neither have worked:
echo $javascript->link('/vendors/markitup/jquery.markitup.pack.js',
true);
echo $javascript->link('vendors.php?file=/markitup/
jquery.markitup.pack.js', true);
On Jun 26, 1:23 am, Miles J wrote:
> So I have a vendor folder (within the app vend
Use a custom datasource & HttpSocket.
On Jun 26, 12:09 am, Turgs wrote:
> Hello
>
> Within a few different controllers, I need to connect to a web service
> using a URL similar to:
> http://api.example.com/?command=Subscriber.Add&data...@test.com
>
> What's the appropriate "cake way" to do this
Mozilla Addons use CakePHP and they get millions of hits and records a
day, youll be fine.
https://addons.mozilla.org/en-US/firefox/
On Jun 26, 6:15 am, mike karthauser wrote:
> We've got a site running in cakephp that is run of 100 tables some of
> which are over 100k rows of data. The bigge
Hello,
I think that it may depend on what you want to do. Anyway, one of the
smartest ways to connect a web service to your app is through a
datasource.
http://debuggable.com/posts/datasources,-models,-components,-behaviors:48bd3025-2c44-40b6-a6e7-35674834cda3
Regards.
On 26 jun, 06:09, Turgs
If you're talking specifically about CakePHP, yes - it's a command
line tool called 'bake':
http://book.cakephp.org/view/113/Code-Generation-with-Bake
On Jun 26, 5:18 am, baris wrote:
> Is there any tool that integrates with PHP/MySQL to read a InnoDB DB
> database structures relationships and
Hi i am using two model and i want to access that models in one
controller how can i use please help see my below code
class EmployeesController extends AppController {
var $name = 'Employees';
var $helpers = array('Html', 'Form');
function register()
{ //code
if (!empty($this->data)) {
$
If using UUID's as primary key do I then have to edit foreign_key in AROS
table to CHAR(36)? What about other fields in ACOS / AROS / AROS_ACOS?
Thanks
Dave
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePH
Hello ,
This is a blog wich content Some pictures of Micheal Jackson Death And
some Official News .
http://michael-jackson-pictures2.blogspot.com/
Let Me know What Do you Think !!
Do You Realy Loved Micheal Jackson ??
--~--~-~--~~~---~--~~
You received this mes
I think that can be handled by the Set class. I am not sure if find
does use that one but you can use it to get the same kind of results.
If you look at a class like Configure, you can do Configure::read
('Some.dot.path') and get back the data from the equivalent array
position. In there it is do
Thanks for replying!
Would really appreciate a link if you have it/could find it, I've had
a look and the only patch I can find doesn't mention containable...
(http://code.google.com/p/searchable-behaviour-for-cakephp/issues/
detail?id=7&can=1)...
On Jun 26, 1:35 pm, GravyFace wrote:
> If you
Hi,
Have You trythe class HttpSocket?
(see: http://api.cakephp.org/class/http-socket)
Regards.
2009/6/26 Turgs
>
> Hi
>
> Thanks for you help.
>
> The service I'm connecting to uses REST rather than SOAP requests and
> returns either XML or JSON.
> Is there a "cake" way to connect to REST
We've got a site running in cakephp that is run of 100 tables some of
which are over 100k rows of data. The biggest issue at that size is
sorting out decent caching on the server so you don't bomb the site
when you get huge traffic
Mike Karthauser
Brightstorm limited
Tel: 07939252144
On 26
i'm looking for the CakePHP's built-in function that converts dot-
separated strings (such as "Order.Code") to multi-level arrays like
this
Array(
[Order] => Array => (
[Code]
)
)
this function is used to parse the data posted from views
i can't find it!! T_T
On
Is there any tool that integrates with PHP/MySQL to read a InnoDB DB
database structures relationships and generate classes for models/
objects?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To pos
$array["Model"]["*f*ield"] ??
--
Eric Silva
On Fri, Jun 26, 2009 at 8:37 AM, Ernesto wrote:
>
> Hello
>
> i can't find the CakePHP's built-in function that does "Model.Field"
> to $array["Model"]["Field"]
>
> i'll use that function in a Helper.
>
> is that correct?
>
> better ideas?
> >
>
--~
can we make a big website in cakePHP like aprox 2,00,000 records
website in cakePHP.
and website can open withought taking any time if db will grow in
size ?
is cakePHP is best solution for very Large Website ?
--~--~-~--~~~---~--~~
You received this message bec
If you look through the issue tracker on their project site in
code.google.com, I recall seeing a workaround patch that somebody
posted.
On Fri, Jun 26, 2009 at 6:11 AM, number9 wrote:
>
> I'm using the searchable behaviour (link:
> http://code.google.com/p/searchable-behaviour-for-cakephp/).
>
>
Suggestions :)
1) If the user is viewing a post and wish to comment the post, then
use a form in the post view and let the post controller ensure that
the new comment is added to the post.
2) If the user is viewing all the comments to a post, then use a form
in the comment view and let the comme
spooky... I came across the identical thing just today. And (I think)
the simple answer is that it is because your Article belongsTo User.
I've also used containable for a while and assumed that chaining
arrays of associations as in your example works (restricts the db
query) in either 'direction'
Hi
Thanks for you help.
The service I'm connecting to uses REST rather than SOAP requests and
returns either XML or JSON.
Is there a "cake" way to connect to REST services?
And where would I make that call? Within each controller so I have
requests scattered throughout my app, or can I have all
Hello
i can't find the CakePHP's built-in function that does "Model.Field"
to $array["Model"]["Field"]
i'll use that function in a Helper.
is that correct?
better ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
On 06/26/2009 12:59 AM, Miles J wrote:
> 'dependent' => true,
>
Try setting dependent to false.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@goog
I'm using the searchable behaviour (link:
http://code.google.com/p/searchable-behaviour-for-cakephp/).
It works great in terms of indexing search results and querying them
as I need, but I read there is an issue with containable not working.
I need to output related models data as well in the re
It's really weird.I can't think what is going on.
2009/6/26 DigitalDude
>
> Hey,
>
> yeah the problem with who can edit what is solved and works fine. The
> action is just usable for anyone who knows the correct url, and all
> other actions are blocked by the ACL unless you login into the
> syst
Use post instead of get.
On Jun 26, 3:07 pm, Andreas Derksen wrote:
> Well, outside cake, those coords were used to determine if the img
> submit button was clicked...
>
> Brendon Kozlowski (Realm) schrieb:
>
> > Think Google Maps. When you double click on an area in the map to
> > zoom, it nee
In the else statement, are you sure you don't need to do something
with the returned array from $this->makeBreadcrumb(...)?
Enjoy,
John
On Jun 26, 1:08 am, Sanfly wrote:
> Hi All
>
> I have a function in a component. Basically the aim of it is to
> create a breadcrumb menu eg: Gallery > 200
So I have a vendor folder (within the app vendors) that has js and css
files in them. I need to include them in the website but cannot figure
out how to do it with $html->css() and $javascript->link(). Any ideas?
--~--~-~--~~~---~--~~
You received this message becau
I lold.
On Jun 25, 11:09 pm, AD7six wrote:
> On Jun 26, 7:18 am, XuMiX wrote:
>
> > PHP4 is not supported for 1 year, maybe Its time to drop php4 support?
>
> Or to use that search form..
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Like I said, I already am using containable. Just this once piece of
code is grabbing too much data, when the contain should be filtering
it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to
Hello,
What I have done is as simple as:
$soap = new SoapClient('http://api.example.com/wsdl',
array(
'soap_version' => SOAP_1_1,
'compression' => SOAP_COMPRESSION_ACCEPT |
SOAP_COMPRESSION_GZIP | 5,
'excepti
Well, outside cake, those coords were used to determine if the img
submit button was clicked...
Brendon Kozlowski (Realm) schrieb:
> Think Google Maps. When you double click on an area in the map to
> zoom, it needs to know the coordinates on where to zoom.
>
> Before all this AJAX goodness, Ma
40 matches
Mail list logo