> Even those apps were ported to
> Yii/CodeIgniter/WhateverFasterHelloWorldFramework and it proves to be
> faster than Cake, I will still use Cake because it makes my code look
> nice, reduces development time and increases developer (me) happiness.
on a current project of mine, a page with a
> Problem is... who wants to port the bakery to Yii and codeigniter to
> do a benchmark? :)
Even those apps were ported to
Yii/CodeIgniter/WhateverFasterHelloWorldFramework and it proves to be
faster than Cake, I will still use Cake because it makes my code look
nice, reduces development time and
Syntax should be:
echo $html->css( 'right_column', array( 'media' => 'screen' ), null,
false );
On Jan 24, 6:45 pm, Gonzalo Servat wrote:
> Hi All,
>
> I never had the need to do this, but I've come across a situation where it
> comes in handy. I'd like to add a stylesheet for inclusion in
>
$this->Event->find('all',array(
'conditions' =>array(
'event_category_id'=>$catId,
'DATE(Event.event_date) > getdate()'
),
'order'=>array('Event.event_date ASC',
'Event.event_time ASC'
)
) ) ;
On Jan 26, 9:38 am, Martin Westin wrote:
> There are lots of goodies you can use (for MySQL at least).
You also need to delete the contents off the app/tmp directory. Leave
the file structure intact and just remove any files.
This is rapidly becoming my stock answer :-S
On Jan 26, 5:49 am, Paolo Stancato wrote:
> Find .htaccess files (there are two) and add "RewriteBase /myapp"
> into mod_rewri
Thanks for fast reply!
These informations are very helpful.
Piotr
On Jan 26, 10:53 am, Martin Westin wrote:
> The manual entry is short but that is all that is needed for a basic
> setup.
> Describe commands stop as soon as you go into debug 0.
>
> General performance advice (Not things you do
The manual entry is short but that is all that is needed for a basic
setup.
Describe commands stop as soon as you go into debug 0.
General performance advice (Not things you do in your app. Things you
do in deployment):
Compiling php and the web server specifically if the added boost is
worth th
Hi Parris,
> The results should be all 'events' that will be
> today or greater (in other words, any date
> in the future).
Try it like this:
'conditions'=>array(
'Event.event_date >= ' => date('Y-m-d')
)
Hope that helps
RoVo
--~--~-~--~~~---~--~~
You rece
There are lots of goodies you can use (for MySQL at least).
Datediff is my preferred comparison since it does not fail on leap-
years and things like that.
DATEDIFF(date1,date2) > 0
-> true or false
To construct modified versions of today I sometimes use Addate adn
Subdate
ADDDATE(CURDATE(), INT
Hi
Could you give me some instructions how to deploy cakephp application
on production server?
I know I have to disable debugging and enable cache engine... but what
else?
Maybe some performance tips?
Is it any way to disable 'describe' command?
Thanks for help!
--~--~-~--~~--
I would probably not go all the way back to a data source. At least
not at first. I would create a special Model that talked to the web
service. The reason is that I don't really think you will end up
supporting a majority of the data source features so it may be more
work than you want. How woul
Alongside questions about HABTM relationships this is one topic that
never dies. :)
I have said this before. I have no real-life problems with the speed
of CakePHP. I don't know all the other frameworks so there is no way
for me to offer a comparative opinion. But I have applications running
wit
Perhaps place the $form->input within as an argument for $form->label
and have it not escape?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups
In my opinion,
Performance is no longer the biggest issue in programming.
Server cost no longer outweigh development cost.
Most companies don't have a huge budget to start a new project.
What my company does is, develop a full-fledge programme first.
Make the money!
If the project fails, FINE! B
Hi Seth,
Check ut this section in the cookbook. I think your problem is that
you specify each radio individually using $form->radio. You might try
$form->input('Field',array('type'=>'radio','options'=>$your_data)) as
it seems to be the promoted way to make a radio group.
http://book.cakephp.org/
Thanks RoVo,
I was on that path but stopped when my personal needs ended with the
knowledge that all text is converted on parsing.
But if I want to read an xml file and then save it back out again I
would definitely like to k ow the encoding so that the saved file
would have the same encoding as t
101 - 116 of 116 matches
Mail list logo