I'm trying to generate the pot files from my site with cake's i18n shell
useing cake 2.3. As mentioned in the cake docs the shell should
automatically extract the validation msgs. However, none of the validation
strings are added to my pot files.
My validation array simply looks like:
public
'%'));
That doesn't change the outcome though..
On Tuesday, September 10, 2013 12:30:53 PM UTC+2, aka wrote:
>
> Why is this no working (throws a column not found) :
>
> $conditions = array('OR' => array( 'I18n__title.co
Why is this no working (throws a column not found) :
$conditions = array('OR' => array( 'I18n__title.content LIKE' =>
'%'.$searchKey.'%'));
$this->paginate = array(
'conditions' => $conditions
);
$results = $this->paginate();
*Error: * SQLSTATE[42S22
Hi there,
Im trying to set up a search function for a multilingual website. I'm using
cake's (2.2) translation behavior and my translated fields are saved in a
separate table (for example: I18n__titleTranslation)
Now i would like to search these records and their translations but the
only way
Hi to All Cakers .I have the following problem.I need to integrate a flash
application inside Cake based website.The flash app communicates with cake
via a WebOrb PHP server (in AMF format to increase the speed of data
transfer).So basically inside Flash I call a method on a PHP service
deployed i
Mike,
Great! Looking forward to seeing you there.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Wed, Jun 30, 2010 at 10:23 AM, Mike Karthauser
wrote:
>
> On Wed, June 30, 2010 4:12 pm, Larry E. M
CakePHP :)
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Wed, Jun 30, 2010 at 10:07 AM, Mike Karthauser
wrote:
> Hi Larry
> am thinking about it. Do you know what the early bird ticket prices are?
>
Shaz,
Are you afraid to fly? :)
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Wed, Jun 30, 2010 at 9:42 AM, Shaz wrote:
> I'd come if it wasn't so far away from London!
>
> On Jun 30
who is coming or planning to come to the event?
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions
mplates to use in all
of your other projects so you are not "cleaning out" your installs every
time.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Mon, Jun 28, 2010 at 10:01 PM, Vangel wrote:
ring aka PhpNut
* @access public
*/
On Fri, Jun 4, 2010 at 5:04 AM, Jayesh Wadhwani wrote:
> Hello,
>
> Per terms and conditions of Google groups please remove all postings
> related to me. My email is jwadhw...@gmail.com
>
> Thanks
>
> Jayesh Wadhwani
>
> Check
ame
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Fri, Feb 5, 2010 at 9:30 AM, Mandy Singh wrote:
> hi,
>
> is it possible to organize controllers under /app/controllers in sub-
> folders ?
>
> my module is growing huge and i would like to create su
s/How/Have/
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
Why would I be sarcastic? How you follow the CakePHP project for any length
> of time? You will notice the alpha releases are more stable then m
Why would I be sarcastic? How you follow the CakePHP project for any length
of time? You will notice the alpha releases are more stable then most
projects stable versions.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access
Yes all client work is on 1.3
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Mon, Jan 11, 2010 at 9:17 PM, Jamie wrote:
> Is anyone using 1.3 on their live, high traffic production servers?
> I
David,
I removed the account last night, 13 more days of that would drive me
insane.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Fri, Jan 1, 2010 at 3:20 AM, David Roda wrote:
> Wow... this
I have plans to change the __*() functions to return by default it has not
been implemented yet
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Thu, Dec 17, 2009 at 12:31 PM, euromark wrote:
> i do ag
http://code.cakephp.org/wiki/1.3/new-features/plugin-assets
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Thu, Dec 3, 2009 at 4:53 AM, peterchenadded wrote:
> Have a look at mediaview (h
w catalog from POT file...
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this m
ar string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP
fter 2.0 are also likely to offer improvements as
> more and more code is php5 optimized.
Yes
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
--
You received this message because you are subscribed to th
w.
Using the console you can extract these string with the following command.
cake i18n extract
This will create the pot file that you would use to create the .po files
using a tool like www.poedit.net
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns stri
It never was open sourced.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Sat, Nov 21, 2009 at 8:13 PM, itsnotvalid wrote:
> Just searched a few websites and there is no indication of a git r
poedit.net
Choose: Catalog > Update from POT file...
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Thu, Nov 19, 2009 at 8:06 AM, andrzejborkow...@gmail.com <
andrzejborkow...@gmail.com> wrote:
Nashville Tn. since I live in Tn now and it would be easier for me to deal
with the venues.
Chicago like Walker Hamilton suggested, that is my old "home town" and would
be nice to visit.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns
Trying to set this back to original thread in google.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Fri, Nov 13, 2009 at 6:59 PM, Larry E. Masters aka PhpNut <
php...@gmail.com> wrote:
&
Chris,
Thanks for breaking the thread :)
Everyone please reply to the email/thread titled:
CakeFest IV - America - Help us pick a location!
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Fri, Nov 13
I am curious if you are using Suhosin php extension?
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Fri, Nov 13, 2009 at 12:25 PM, Quess wrote:
> I have exactly the same problem. On developing ser
content of the site please contact us:
cak...@cakephp.org
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To po
ers
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Tue, Nov 3, 2009 at 11:17 PM, Josh K wrote:
>
> I agree. This theme has me worried. Halloween is past anyway.
>
> On Nov 3, 2:50 pm, on24 wrote:
> > Hmmm, I just don
what is in store with the 1.3 and 2.0 releases, more to be
announced on these later :).
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Wed, Oct 14, 2009 at 5:18 PM, Adam wrote:
>
> "[gwoo] resign
he 160+ on that site using slugs
like you suggest.
You can use the code however you like though.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Wed, Oct 14, 2009 at 11:21 AM, Miles J wrote:
>
> Add
ot;
Which means:
"Welcome to my home page of the applications I have built using CakePHP my
framework of choice."
This is not translating text, and it not what I18n is to be used for.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string
Cool, let me know if you have any questions.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Tue, Oct 13, 2009 at 7:46 PM, Miles J wrote:
>
> Well see now a lot of it makes sense. The guide is pretty
back online in the next few weeks. They will also be added to the book, with
corrections on the proper use of these functions soon. If you need the
correct plural form before then, let me know and I can reply with it.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
So you are basically using these as "defines"?
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Tue, Oct 13, 2009 at 2:19 PM, euromark (munich) <
dereurom...@googlemail.com> wrote:
>
&
Name
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Tue, Oct 13, 2009 at 11:12 AM, Miles J wrote:
>
> I am personal extremely against naming your ids the full sentence,
> what purpose does that serve? Its longer in both the .po and .ctp file
> and its a
slate your application if they have
everything they need in the 1 .po file vs looking for the text related to a
place holder.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Tue, Oct 13, 2009 at 9:13 AM, Rob wrote:
There is a shell script to do this. If the cake console is in your
environment path, this command will work.
cake i18n extract
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Tue, Oct 13, 2009 at 9:13 AM
I do not, so that is why I no longer reply :)
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Thu, Oct 1, 2009 at 11:02 PM, Robert Popplewell wrote:
> I wonder if every other member of the Cake
Serious though, http://book.cakephp.org/view/510/Sites-in-the-wild
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Thu, Sep 24, 2009 at 4:17 PM, Larry E. Masters aka PhpNut <
php...@gmail.com> wrote:
>
> Is anybody use cakephp for developing an Enterprise Level
> Application?
Yes.
> and What Kind of App was developed?
>
A big one.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
*
It is __(); notice the double underscore.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Mon, Aug 17, 2009 at 3:52 PM, RhythmicDevil wrote:
>
> Hi,
> I am trying to understand h
Should be working now, I have not had time to replace the SSL cert on the
server after it expired so the nightly build would fail with the svn export.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Sat, Aug
p://book.cakephp.org/view/68/Creating-Database-Tables
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
>
>
> The cookbook mentions tinyint only the context of forms. The api is
> silent. Golding (Beginni
I know this is documented and it is part of the CakePHP conventions.
Maybe it is time to upgrade your 1.44 floppy to something like a zip drive?
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Mon, Jun 1
When trying to use imap_open() command with CakePHP either r8120 or
r8166 when debug is set to 1 or 2 I get the following error:
Fatal error: Class 'Debugger' not found in ../cake/libs/debugger.php
on line 169
# TimeMemory FunctionLocation
1 0.1322 1828636 Debugger->hand
blic actions in your controller?
>
> Auth is tricky, but following the tutorial step by step should work.
>
> On Feb 27, 4:40 pm, aka wrote:
>
> > I keep running in to this problem over and over again.
>
> > Whenever I implement the cakephp 1.2 Auth component I can
I keep running in to this problem over and over again.
Whenever I implement the cakephp 1.2 Auth component I can't login (and
yes, I'm sure the login credentials are right). The password is saved
with the sha1 algorithm and the salt value has been changed. New cake
installation + a new database (
We can't forget that even not using $uses, when loading a Model it
will construct all its links, and its link will construct all of their
links, and so forth...
So, anyway, you are most probably going to load each and every model
by just loading a single one - even though they might have nothing t
MichTex-
I have used this before with great success: http://code.google.com/p/js-hotkeys/
Works with jQuery.
Brad
On Jan 29, 12:18 pm, MichTex wrote:
> Has anyone implemented keyboard shortcuts (hotkeys) for CakePHP
> applications? I'm looking for real, single-key shortcuts, such as
> Gmail a
Miles-
Try -
App::import('Model', "_insert_model_name");
Brad
On Jan 10, 6:08 pm, Miles J wrote:
> In one of my controllers, I use nearly 10-15 models. The problem is
> that I dont need all these models, each model is respective to a
> certain action and loading all these models seems like it
test case and diff against core model.test.php and open
a ticket http://book.cakephp.org/view/759/Bugreport
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Fri, Dec 19, 2008 at 8:48 AM, Martin Westin
wrote
yes you can, just assign different aliases like 'Owner' and
'OwnerFriends'
eagerterrier wrote:
> I have a facebook type app that I need to build for a client (don't we
> all?) and in it I have a model that ideally needs to be owned by one
> user, and also habtm other users (the owners friends)
>
> Finally if you are hopping that cake allow you to make mysql function calls
> inside a query you should read thishttps://trac.cakephp.org/ticket/5345as
> stateted that "it would actually
> make SQL injection a *feature"
>
Notice that every user input should be properly sanitized and escaped
if
> PS a controller should itself have very few __ calls (only flash messages) ...
And be said that even this can be delegated to the view layer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post
> Deleting this key solved the problem.
instead of deleting the session key, why don't you set the right url
on AuthComponent::$loginRedirect?
$this->Auth->loginRedirect = array('controller' => 'user', 'action' =>
'info');
--~--~-~--~~~---~--~~
You received this m
> I was wondering if there is anyway in order to still use the Ajax
> helper (I don't really want to write all the code to implement it
> everytime) while using JQuery instead of Prototype and Scriptaculous?
No. There's no way of doing this. AjaxHelper only spits code based on
Prototype and Scrip
grigri wrote:
> @Markus and Rafael
Oh come on... I wasn't asking, I was answering... the code supplied by
the thread author is invalid, and I pointed it out. Every method
presented since then is just fine.
--~--~-~--~~~---~--~~
You received this message because y
> $this->set('filters',$this->Listing->Cuisine->find('all',array
> ('conditions'=>array('Cuisine.id'=>$searchby))), $this->paginate());
what is it supposed to do?
I think that what you really want to do is:
// in the controller
$this->set('filter', $this->paginate());
--~--~-~--~~
... forgot the last paragraph:
and he is always giving support over cakebaker.42dh.com.
--~--~-~--~~~---~--~~
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.com
> BTW, I did tested Daniel's code before, It was not of much help, as it
> didn't worked out with latest versions. And I think no one is using it
> right now.
are you sure? He just pushed SeleniumHelper to github
--~--~-~--~~~---~--~~
You received this message bec
Abhimanyu Grover wrote:
> Hey Bakers,
>
> From quite a few days, Selenium IDE is seducing me as its a huge time
> saver in writing tests. Earlier I was using CakeWebTestCase which
> fulfilled our team's needs easily. Now I'm stuck in dilemma whether we
> should use Cake's Inbuilt CakeWebTestCase
For sure that's a way to do that.
>
> Can I create a model that will show me a list of all users in Ohio and
> Kentucky?
>
Are both dbs on same host and can they be accessed by same app's db
client and therefore be used in a same sql query?
--~--~-~--~~~---~--~~
> On the front-page of my application I want to be able to display
> numerous other views. For example I may want to display a view of my
> pages controller (for example a welcome message), and a view from my
> calendar controller.
>
> How would I do this?
use View::element(), as such:
$this->el
ted data or something that has no direct
> impact on the pages content, you might instead choose query strings.
>
> Hope that helps,
> EW
>
> On Nov 19, 4:55 am, Rafael Bandeira aka rafaelbandeira3
>
> <[EMAIL PROTECTED]> wrote:
> > Query strings are evil for
>It's important to know what's out there!
Totally agreed, I've done it before. The conclusion: almost every
other framework is a) ugly and/or b) unlogical and/or c) useless and/
or d) too complex for it's too unsensible featurity.
And yes. CI is totally unlogical and bloated with lots of crap
feat
the easiest way to get you on the path to the success is: quit CI and
all other non-logic based framework out there.
you little heretic man...
;-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To po
What I see a lot is people looking for a admin backend that actually
works.
A CMS just for the MS.
I think that a fashion way of delivering data to views, and a good UI
work on admin end is what people really seek.
Modularity and extensibility are huge pluses - but not strictly
necessary.
--~--~--
Query strings are evil for seo. That's why.
--~--~-~--~~~---~--~~
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.com
To unsubscribe from this group, send email to
Tópicos em português devem ser postados no fórum pt-br.
ok?
--~--~-~--~~~---~--~~
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.com
To unsubscribe from this grou
On 13 nov, 03:53, Nick <[EMAIL PROTECTED]> wrote:
> Basically I am using wildflower cms which is built on cakephp.
> It routes are setup so that / goes to the pages controller.
> I am building a product catalog and could simply have the urls be /
> products/category/product-name
> however I do n
> triggered? And how can i avoid it without changing the cakecore?
set the 'rule' key on $validate for each field, and specify the rule
you want it to follow, when a validation
scheme is set on $validate but no rule is specified, the 'blank' rule
is assumed.
Please refer to the cookbook for more
> Model.[0].[key]='a'
> Model.[0].[key]='b'
> Model.[0].[key]='c'
what is it?
the structure should be like this:
$data['HABTMModel']['HABTMModel'] = array(
array('HABTMAssociationForeignKey' => 1),
array('HABTMAssociationForeignKey' => 2),
array('HABTMAssociationForeignKey' => 3)
);
Forgot to mention, if you just want to keep your tables as they are,
refer to #5722¹ to see the correct data set format to use.
¹ - https://trac.cakephp.org/ticket/5722#comment:2
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
Model::__saveMulti() was changed in the last few days due to a bug,
new tests were added, and everything seems to be working just as
expected.
The problem is that the data format you are using is only supported by
numeric ids and uuids, being processed only if it's values are 36 char
long or numer
> link('Activate account',
> array('controller'=>'users', 'action' => 'activate', $userid); ?>
^
it's missing a close bracket here -^
anyway:
> Is there a way the above can be used to print out an absolute url ?
$html->link('Activate account', $html-
>url(arr
Unless you are using an old version of CakePHP this should have been
corrected months ago.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Wed, Oct 15, 2008 at 4:14 PM, cakeFreak <[EMAIL PROTECTED]>
I noticed there wasn't the ability to limit the fields in a hasMany,
hasOne, or belongsTo association in LdapSource so I added one. Below
is the code to replace generateAssociationQuery(). Make sure your
foreign key is within your limited fields if used.
function generateAssociationQuery(& $mo
Should have added, refresh your page within 10 seconds and you should see
the caching does work.
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Sat, Oct 11, 2008 at 9:42 PM, [EMAIL PROTECTED] <
[EM
http://groups.google.com/group/cake-php/browse_thread/thread/93560397e44819e6/e69f61828e527664
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Sat, Oct 11, 2008 at 9:42 PM, [EMAIL PROTECTED] <
[EM
Keith,
Bin you models and send the link to the bin in your email, I will show you
how to fix it.
http://bin.cakephp.org/add/Keith
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Sat, Oct 11, 2008 at 8:45 PM
avior."
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Sat, Oct 11, 2008 at 6:59 PM, <[EMAIL PROTECTED]> wrote:
>
> Ok yea i am not sure abt the first part but David was right the
> debuging
class EventsController extends Controller {
should be:
class EventsController extends AppController {
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Fri, Oct 10, 2008 at 10:09 AM, Fabricio Leonardo
For those of you that missed Laura Thomson's presentation at CakeFest,
or left wanting to know more, we are pleased to announce that on
Wednesday October 22, 2008 6:00 UTC-4 she will be joining us on The
Show (http://live.cakephp.org). Laura has been working at Mozilla for
over a year now, and has
Yes Sorry clemos, was alittle tired on this afternoon.
Here is the question completely rewritten :)
1. Download the latest stable release of CakePHP (1.1.19.6305)
1.1 Set it up and running.
2. Download the prototype.js library and copy it to your fresh cake
installation "js" -folder.
3. Lets c
Hi!
I have a controller, which fetches other controllers data through
requestAction().
The first element contains a form in which there is an $ajax-
>submit(...);
the problem here is that the form does nothing. The form doesen't even
send XHR request.
However, the $ajax->link's works just fine
> class 'Routes' not found
You are mispelling "Router" somewhere in your application, probably on
app/config/routes.php
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send ema
> > Still thinks that executing queries is needed?
>
> Yes. Sometimes You have uncommon database design, and You can't
> EFFECTIVELY receive data just by using standard, even magic, model
Definetly correct, my sentence wasn't much happy. I meant for the
cases he presented.
Anyway, keep in mind th
tried to set your source code files encoding to UTF-8? The default of
many IDEs is to set them as ISO-8859-1, wich messes up with accented
chars, make sure you are rendering your content in UTF-8 too. But
anyway, I would like to point that it's not a good idea, accented
chars are generally a pain
t know if anyone's done any sort of
> measurements about "CPU X, with memory Y GB, Cake can draw Z records
> into memory in A milliseconds", but it would be fascinating to see :)
>
> Thanks again for the quick, really helpful response!
> (And, for what it's worth, I'
>
> Rule of thumb perhaps? :)
>
If you really mean it: Let's say rule of thumb isn't exactly a rule.
Now, if you were being ironic: Yay right, that's the kind of rule that
can be applied to a pattern!
--~--~-~--~~~---~--~~
You received this message because you are
Mike, I think it's not "how much data is Cake intended to deal with"
is how much data your app is intended to deal with,
thousands of records is not something that should be dealed by php,
the database does it much faster and safer.
Having lots of data in database doesn't mean you have to deal wit
First of all people: what Rule? It's not made of rules, it's a pattern
to follow - but follow as you want.
Second, no, it doesn't "break the Rule" it only makes your code uglier
and hard to read - see above - but the thing is,
why to use a hand made query when you can easily/prettier/"readablier"
Hey Mike, it's totally not a matter of performance here.
First of all, there's no reason on use this approach for a that huge
amout of data, you should probably import it to your db.
But if you want to do this in the app layer, maybe it's a feature - I
don't know, you should definetly build INSERT
I don't really get it... you can easily handle your data in Model
side, even more now since [7640] - wich actually encourages you to do
so.
Ok, but lets focus on the "iterating more than once" problem. After
all isn't it what you actually do in every MVC based app? i.e:
db (iteration over table da
More standard?
The file format is THE standard.
Do a little research on gettext.
http://www.google.com/search?q=gettext
--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access public
*/
On Mon, Sep 22, 2008 at 9:00 AM, toby78
You can use an array to specify label's tag attributes:
$form->input('Schedule.expected_check_in', array('label' =>
array('class' => 'input-label', 'text' => 'Expected Arrival', 'title'
=> 'When are you expecting to arrive at the place?')));
The 'text' key is the one to be used as the text, so t
t; "view"),
> array('id' => '[0-9]+', 'pass' => array('id'))
> );
>
> On Sep 3, 1:37 pm, aka <[EMAIL PROTECTED]> wrote:
>
> > Ok, i've been breaking my head over this.
>
> > I'm
Ok, i've been breaking my head over this.
I'm trying to change the routing of my app so that (for my base
controller, lets say 'posts') it will be hidden in the url. That is to
say that i can use url's like www.mysite.com/view/1 instead of
www.mysite.com/posts/view/1. Effectively just hiding (or
1 - 100 of 458 matches
Mail list logo