I am simply doing login and registration of users in cake php, here is my
file structure!
app/controller/users_controller.php
Auth->allow('add');
}
public function add() {
if(!empty($this->data)) {
$this->User->create();
if($this->U
I am simply doing login and registration of users in cake php, here is my
file structure!
app/controller/users_controller.php
Auth->allow('add');
}
public function add() {
if(!empty($this->data)) {
$this->User->create();
if($this->U
Can any one create sample app here.
http://cakeapp.com/sqldesigners/sql/movie
i have created table..but still its displaying celebrity id instead of
celebrity name.
Raj
On Mar 8, 5:40 pm, Rajesh wrote:
> I am working on movie site. Client have movie records in following
> str
I need cakephp developer for a new project. If any one interested let
me know.
--~--~-~--~~~---~--~~
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 unsubsc
Is there any other way to redefine database to meet the requirements?
Please help me on this...
On Mar 8, 5:40 pm, Rajesh wrote:
> I am working on movie site. Client have movie records in following
> structure.
>
> CREATE TABLE IF NOT EXISTS `movies` (
> `id` i
ship,
> > using "Cast" as your 'with' model?
>
> > So, Movie HABTM Celebrity through Cast.
> > and Celebrity HABTM Movie through Cast.
>
> > On Mar 8, 12:40 pm, Rajesh wrote:
> > > I am working on movie site. Client have movie r
llings, but in this instance, it
> probably just doesn't understand that celebrity_id is a foreign key
> for celebrities. Specify it in your relationship definition.
>
> $belongsTo = array('Celebrities' => array('foreign_key' =>
> 'celebrity_id'))
this instance, it
> probably just doesn't understand that celebrity_id is a foreign key
> for celebrities. Specify it in your relationship definition.
>
> $belongsTo = array('Celebrities' => array('foreign_key' =>
> 'celebrity_id'))
>
>
I am working on movie site. Client have movie records in following
structure.
CREATE TABLE IF NOT EXISTS `movies` (
`id` int(50) NOT NULL AUTO_INCREMENT,
`movieName` varchar(500) NOT NULL,
`year` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
--
On May 4, 12:46 pm, keymaster <[EMAIL PROTECTED]> wrote:
> Way too ambitious to make all these changes and still keep up with
> evolving cake releases, IMHO.
>
> You're better off leaving the core as is, and just managing your value-
> added stuff. That alone is a handful, but you'd get 80% of the
On May 4, 8:17 pm, Dérico Filho <[EMAIL PROTECTED]> wrote:
> First off, it is a fork. As a matter of voting, I am against and
> thefore I shall not support it. I know I am no one, but it is a
> thought anyway.
>
> There is a particular clause I deemed to be disattached of reality.
> CakePHP, s
On May 5, 6:07 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Sat, May 3, 2008 at 11:09 AM, R. Rajesh Jeba Anbiah
>
> <[EMAIL PROTECTED]> wrote:
> > Community:
> > 1. 100% open (svn, wiki, Google groups)
>
> I'm wondering if by
On May 5, 6:52 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On May 3, 7:45 pm, "R. Rajesh Jeba Anbiah"
> <[EMAIL PROTECTED]> wrote:
> > On May 3, 8:59 pm, nate <[EMAIL PROTECTED]> wrote:
>
> > > Also, for as quaintly egalitarian as your "no aut
On May 3, 11:19 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> > I think, modifying core is necessary evil. To bend it for the
> > UIMS, it's extremely necessary.
>
> I need to do my research in the area before arguing.
>
> > Another change that seems extremely
> > necessary is compo
On May 3, 9:04 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> Yes, It sounds like a fork. Anyway, maintaining a set of changes to
> the core on top of the svn is easily done with git and quilt (as SCM
> goes) but involves too much work from programmers.
>
> I've tried to make a "thing on
On May 3, 8:59 pm, nate <[EMAIL PROTECTED]> wrote:
> Also, for as quaintly egalitarian as your "no authority" clause is, it
> doesn't fly in the real world. Even if "developers aren't morons,"
> that doesn't mean that you won't get n00bs who only think they know
> what they're doing, or people wh
I have been thinking this for a while and also posted this sometime
ago
http://groups.google.com/group/cake-php/browse_frm/thread/949555be03d9df8b/300bec44c5902198
But, I understand Cake should be a tiny and tight framework for many
people here.
So, I envision something new on the top of CakePHP
On Apr 30, 1:00 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> Thanks that worked great. I have one further question. How would I
> make the filter/search box stay populated with the search string that
> was entered?
Check for the 'value' key in $form->input().. stuff the $this-
>params['named']
On Apr 30, 11:17 am, Kyle Decot <[EMAIL PROTECTED]> wrote:
> Thanks for the help and the quick response but now i'm getting a
> endless loop of redirects. if you go to:
>
> http://www.theskateparkdirectory.com/skateparks/
>
> you'll see what I mean. Any ideas what's causing this?
Try:
On Apr 30, 7:41 am, Kyle Decot <[EMAIL PROTECTED]> wrote:
> Thanks. I'm trying to implement this, but the following doesn't seem
> to be working:
>
> echo $form->create('Foos', array(
> 'action' => 'index',
> 'method' => 'get' // Important
> ));
>
> when I look at my source code, the form
One link seems to be missing in the FAQ page
http://groups.google.com/group/cake-php/web/faq
under "How to handle tricky HasAndBelongsToMany situations?". If you
have access to the previous Frequent Discussions page, can you check
what link it is?
--
Email: rrjanbiah-at-Y!comBlog: http://
On Apr 19, 2:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Can someone help me out, the following code gives me a parse error but
> I don't know why
>
> class Benefactor extends AppModel {
> var $name = 'Benefactor';
> //var $testA =strtotime(date("n/1/Y"));
> var $hasMany
On Apr 19, 2:22 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 5:15 PM, R. Rajesh Jeba Anbiah
>
> <[EMAIL PROTECTED]> wrote:
>
> > > So, why are the tables named thus?
> > > acos
> > > aros
> > >
On Apr 19, 2:16 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I've been learning grails and I came across the following code that I
> assume is standard because it's auto-generated by grails "bake"
> equivalent:
>
> name="user.id" value="${post?.user?.id}" >
>
> This is basically groovy's
On Apr 18, 1:40 pm, acl68 <[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
> I was programming an application with Cake and all was well ;-)
> Then my colleague and I had the idea to share the login procedure with
> the applications he is maintining, so that the login in his
> application and the i
On Apr 19, 1:56 am, Jee <[EMAIL PROTECTED]> wrote:
> According to the Cake 1.2 manual: "Join tables, used in
> hasAndBelongsToMany relationships between models should be named after
> the model tables they will join, in alphabetical order (apples_zebras
> rather than zebras_apples). If your applic
On Apr 18, 8:05 pm, grigri <[EMAIL PROTECTED]> wrote:
> Write the sql queries to a text log file.
>
> I created a custom datasource to allow syntax hilighting of the sql
> log and file-based logging.
>
> More details in this
> thread:http://groups.google.com/group/cake-php/browse_thread/thread/96
On Apr 18, 10:19 pm, "b logica" <[EMAIL PROTECTED]> wrote:
> 2008/4/17 robert123 <[EMAIL PROTECTED]>:
> > Hi, I want to develop website using cakephp in Chinese and English
> > using utf8 encoding I am trying to use cakephp 1.2 version, I have
> > been searching around the web on the docs on i
On Apr 17, 5:41 pm, grigri <[EMAIL PROTECTED]> wrote:
> It might seem like overkill, but one way of handling this might be:
>
> //-
>
> /app/vendors/something.php
>
> class Something extends Object {
> function doSomethingCool($input) {
> return $output;
> }
>
> }
>
On Apr 17, 10:25 am, Adam Royle <[EMAIL PROTECTED]> wrote:
> Excel does read tabular html (including basic styles). You just need
> to set the correct content type.
>
> header("Content-disposition:attachment;filename=myexport.xls");
> header("Content-type:application/vnd.ms-excel");
>
> Alternativ
On Apr 17, 8:03 pm, Ramiro Araujo <[EMAIL PROTECTED]> wrote:
> Im using CakeSWXPHP for my flash projects (I would use CakeAMF, but my
> clients all have shared hostings :( and dont have de amf php
> extension).
>
> BUT, im using cakeswxphp with the amf connection; its like using
> amfphp. You have
On Apr 16, 10:21 pm, "b logica" <[EMAIL PROTECTED]> wrote:
> Gonzalo: I'm not suggesting that anyone *wants* CakePHP to collapse.
> This public argument amongst the core devs doesn't bode well for the
> health of the project, regardless of what anyone--including
> them--wants.
FWIW, public dis
On Apr 16, 9:35 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> I like slugs for main args and named args for extra params. Makes it
> easy for me to remember and maintain stuff.
>
> For example, on my site you read an article with a slug:
>
> http://dsi.vozibrale.com/articles/view/which-ve
On Apr 16, 11:54 am, ros <[EMAIL PROTECTED]> wrote:
> Take a look as alternative to core CakePHP translate behavior - i18n
> model
> behaviorhttp://www.palivoda.eu/2008/04/i18n-in-cakephp-12-database-content-tr...
> It supports translation of related models (recursive is unlimited)
> during cotro
On Apr 16, 8:48 pm, nate <[EMAIL PROTECTED]> wrote:
> On Apr 16, 6:39 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > Well, that's a shame.
>
> > * _nate_: still having ego problems?
> > You're all doing something great here, put your petty ego aside and
> > act like adults.
>
> Hey Lec
The link for latest version is
http://groups.google.com/group/cake-php/web/frequent-discussions?version=131
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-
On Apr 15, 9:13 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> you link leads to a page saying:
>
> 'We're sorry, but we were unable to find the topic you were looking for.
>
> > Perhaps the URL you clicked on is out of date or broken?'
>
> I am interested to see this crazy piece of AutoMajic
On Apr 14, 4:40 am, keymaster <[EMAIL PROTECTED]> wrote:
> Other than the conditional validation solution in the bakery, (which
> seems to work, but is not necessarily a first choice, it's more of a
> workaround) is there a more "core" approach to dealing with fields
> which have different validat
On Apr 11, 12:59 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> From time to time I work on Flash projects and have previously used
> CakeAMFPHP. Now it looks like it has been abandoned (more or less) in
> favor of CakeAMF. My problem is that from what I can gather CakeAMF
> requires the com
On Apr 15, 6:14 pm, "Larry E. Masters aka PhpNut" <[EMAIL PROTECTED]>
wrote:
> Grab this file, it is the same one we
> use:https://trac.cakephp.org/browser/whiteboard/misc/svnconfig.txt?format...
The bugtraq:url propset isn't there in cake's svn, in case if
you'd want to know.
--
Ema
On Apr 14, 9:32 pm, MonkeyGirl <[EMAIL PROTECTED]> wrote:
> Yes. The easiest way is to create this page as something like /items/
> view_items_of_article/article_id instead of /articles/view/article_id
> so that you can just use $this->paginate the way you normally would.
I think, you're missi
On Apr 15, 7:54 pm, Ramiro Araujo <[EMAIL PROTECTED]> wrote:
> By nate: "All database inputs are automatically escaped when you
> save.". Is this true for the "query" method also? If not, what type of
> sanitization should I made if using the query method in some inserts
> or updates?
Cake w
On Apr 10, 6:16 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
> > I'm interested to know the preferred way of organizing the models and
> > vendor files, for the project say "meta search engine - using
> > webservices of the search engines":
>
> I see you have 2 other options (than those listed
On Apr 10, 2:17 pm, simon <[EMAIL PROTECTED]> wrote:
> is there a method to do the same for the above but for css sheets?
As someone mentioned, you can do that by setting "inline" param
to false in $html->css() and $javascript->link(). Html helper will
always be available and if there is no
On Apr 10, 1:18 am, majna <[EMAIL PROTECTED]> wrote:
> My suggestion is controller/action/slug solution. Sometimes controller/
> slug if possible.
Thanks for your comments. The reason for this post is that:
1. Many times, I find that no one is preferring the named arg thing
2. It's my
On Apr 10, 12:12 am, jonknee <[EMAIL PROTECTED]> wrote:
> For one site recently that had a database of restaurants broken down
> by neighborhood (and city) I went all keyword based. Worked well (city/
> neighborhood are all variable keywords):
>
> /browse/city
> /browse/city/neighborhood
> /restau
On Apr 10, 2:08 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> 4.
> From what I have learned, you should put "anything that is not a
> Controller, Model or View" in vendor. So, feel free to put your own
> libraries there.
Thanks for your comments. I don't quite get here in Cake; I
On Apr 10, 4:54 am, the_woodsman <[EMAIL PROTECTED]> wrote:
> Interesting stuff -
>
> I think you seem to be implying the need for certain design patterns,
> and Stephen is on the money with the Factory (http://en.wikipedia.org/
> wiki/Factory_method_pattern) , or perhaps the Strategy pattern (htt
Stephen Orr wrote:
> I can't answer all your points, but in theory, you could probably
> achieve what you're aiming for in (2) by making SearchEngine a factory
> class which instantiates the other classes on demand. But you'd
> probably do better with a different architecture.
>
> My suggestion wo
On Apr 9, 9:14 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 9, 2008 at 11:52 AM, R. Rajesh Jeba Anbiah
>
> <[EMAIL PROTECTED]> wrote:
> >File inclusions are always a overhead unless you use caching;
> > but many times it'
(The topic not related to the current thread
http://groups.google.com/group/cake-php/browse_frm/thread/0133dc7f2dfb1191/6f1665159f7b00d4
; it's different)
I'm interested to know the preferred way of organizing the models and
vendor files, for the project say "meta search engine - using
webservice
On Apr 9, 8:44 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 9, 2008 at 11:41 AM, DragonI <[EMAIL PROTECTED]> wrote:
>
> > Coolio!
>
> > But does anyone know what the overhead/performance is like?
>
> Compared to what? I doubt you'd even notice it.
File inclusions are al
This strange, but I'd really like to know your preferred URL
structure:
1. http://foo.com/foos/index/x/1/2 (path like)
2. http://foo.com/foos/index/x/slug_1/slug_2 (path like, but with
slug)
3. http://foo.com/foos/index/x/Nam+e+1/Nam+e+2 (path like, but with
findByName)
4. http://foo.com/foos/i
On Apr 9, 1:09 pm, stefanb <[EMAIL PROTECTED]> wrote:
> How can I translate the error messages in validate arrays?
>
> example:
>
> public $validate = array(
>
> 'name' => array(
> 'validtext' => array('rule' =>
> array('val
On Apr 7, 9:07 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> I am creating a skatepark directory website, and I want to include a
> filter/search box where you can search parks by name, and filter by
> state, price, size, etc. Has anybody done anything similar, or have
> any suggestions on how to do
On Apr 8, 8:59 am, John R <[EMAIL PROTECTED]> wrote:
> Is there an easy way with Cake to get /js/register.js to be
> automatically included in register.ctp? (And conversely not included
> if it doesn't exist?)
Not automagic, but you may add this in the view file:
$this->addScript('register');
On Mar 17, 11:24 am, crazyDavid <[EMAIL PROTECTED]> wrote:
> I'm developing an application in cakephp 2.0 which needs to handle
> database with minimum of 100,000 rows of data. I'm using mysql
> database and apache (xampp). I'm facing a lot of problems during
> findAll() and paginate(), the script
On Apr 7, 4:16 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> Heh, nice, but you also have the fifth, "contribute in every
> situation", and it is really hard to see the contributing part in
> repeating the same thing ten times in a row.
>
> Besides, my post was criticism too, right? ;-)
On Apr 7, 1:37 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> While I agree that the post title is not appropriate, I get this
> feeling that everyone here is just waiting for something like this to
> happen so they can jump the author.
>
> Yes, it's wrong, the guy got it, get on with it.
On Apr 4, 11:41 pm, Baz <[EMAIL PROTECTED]> wrote:
> Just throwing in my two cents, but I've had frequent problems with
> phpMyAdmin exceeding timeout limits (and once even memory limits) on a
> shared hosts...
>
> So, trying to compare phpMyAdmin with what you're trying to do isn't really
> fair.
On Apr 4, 7:49 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 4, 2008 at 10:44 AM, jonknee <[EMAIL PROTECTED]> wrote:
>
> > > > Either that or you'll have to run queries using LIMIT and OFFSET to
> > > > grab what you need one chunk at a time. I don't know any scripting
> > > > l
On Apr 4, 6:04 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Apr 4, 2:41 pm, "R. Rajesh Jeba Anbiah"
> <[EMAIL PROTECTED]> wrote:
> > On Apr 4, 4:51 pm, AD7six <[EMAIL PROTECTED]> wrote:
>
> > > On Apr 4, 4:08 am, Grant Cox <[EMAIL PROTECTE
On Apr 4, 4:51 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Apr 4, 4:08 am, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> > We have some large reports for our application - often involving ~250K
> > rows from 8 different tables. The problem is, if your reporting needs
> > to do any kind of collating or
On Apr 3, 11:12 pm, "Christian Winther" <[EMAIL PROTECTED]> wrote:
> I use cake way for documents and sql data way above 100 megabytes in size
>
> My guess would be your setup is wrongly configured - rather than pointing to
> php or cake as the problem.
Obviously, you're overlooking the prob
On Apr 3, 10:40 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 3, 2008 at 1:13 PM, R. Rajesh Jeba Anbiah
> <[EMAIL PROTECTED]> wrote:
>
> > Cake's default way of dumping array in controller and iterating
> > in view file,
On Apr 3, 6:51 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 3, 2008 at 9:46 AM, R. Rajesh Jeba Anbiah
>
> <[EMAIL PROTECTED]> wrote:
>
> > On Apr 3, 5:58 pm, "Christian Winther" <[EMAIL PROTECTED]> wrote:
> > >
On Apr 3, 5:58 pm, "Christian Winther" <[EMAIL PROTECTED]> wrote:
> Why on earth would you do that?
Read the thread above.. the array dumping doesn't work for all the
cases--especially on exporting the data.
--
Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/
--~--~
On Apr 3, 3:48 pm, "Matias Lespiau" <[EMAIL PROTECTED]> wrote:
> I think this is the link your a looking for:http://bin.cakephp.org/saved/1237
I'm sorry, I actually meant "resource"; not "object".
--
Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/
--~--~-~--~-
On Apr 3, 12:24 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> As on that page I would also suggest you look at some of the bahaviors
> in the Bakery that can help with binding and unbinding data not needed
> for the current request.
Thanks for your ideas; but none of them are help
On Apr 3, 11:51 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> I'm not sure of any method - but why do you think that all your rows
> as arrays will use up more memory than the same amount of data wrapped
> in objects? Is it just a pass by reference vs pass by copy issue?
I'm sorry, I goofed
It's very crucial to have the find() or similar returns DB
object instead of full array--as for any data export module, we cannot
dump the whole array which would result in memory error. IIRC, someone
provided how to do that in CakePHP, but I lost the link; but, when I
google, the closest I
On Apr 3, 4:02 am, Lisa <[EMAIL PROTECTED]> wrote:
> maybe you mean like this?
>
> http://groups.google.com/group/cake-php/browse_thread/thread/675b44ae...
It's talking about retaining search param which is already here
http://groups.google.com/group/cake-php/web/frequent-discussions?version=
When trying more than one pagination on a page, the pagination is
getting weird as it's resetting with the single named args (like page:
1). So, is there anyway to mention the array of named argument--so as
to attach it to the model? (say, model[page]:1 or so?)
--
Email: rrjanbiah-at-Y!com
Off topic, but I'm just interested to know how have you made this
sticky?
--~--~-~--~~~---~--~~
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
On Mar 25, 8:38 pm, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Mar 25, 2008, at 9:22 AM, Chris Hartjes wrote:
> > On Tue, Mar 25, 2008 at 9:39 AM, rachev.preslav
> > <[EMAIL PROTECTED]> wrote:
>
> >> I am having some problems with this behavior, more specifically in
> >> the
I'm thinking of moving the multi-language support to DB. So,
basically I want to have:
__($text, $lang_code='en_us') and a DB table for translations
(lang_code, controller, action, text_key, translation). I believe,
this will be easier to manage the translation. But, my current
question is ho
On Mar 10, 4:17 pm, grigri <[EMAIL PROTECTED]> wrote:
> This might
> help:http://lemoncake.wordpress.com/2007/10/10/extending-acl-to-per-field/
Lightning speed:-) Thanks.
--
Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/
--~--~-~--~~~---~-
On Mar 10, 5:22 am, BT <[EMAIL PROTECTED]> wrote:
> Does anyone know any resources that can help people transition
> existing apps from cakephp 1.1 to 1.2?
>
> I'm looking for items such as a list of deprecated functions, their
> replacements, perhaps an essay or two on the larger changes in
> app
I'm about to try the Cake's ACL for individual form fields. Say,
username field should be shown only for "admin" on a particular form.
I just want to know, if it's an acceptable solution for handling form
fields--or is there any better approach available? TIA
--
Email: rrjanbiah-at-Y!com
Couldn't remove the spam; looks like GG is broken now. So, the spam
free version should be
http://groups.google.com/group/cake-php/web/frequent-discussions?version=111
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "
On Mar 9, 9:08 pm, koko <[EMAIL PROTECTED]> wrote:
> Hey I've printed the book for my own reading because I don't like to
> read from HTML (the look is difference) and if I wnat to print any
> page it'll be easier
>
> I've told the documentation leader in CakePHP about the book and if he
> ca
On Mar 7, 8:11 pm, Greg Baker <[EMAIL PROTECTED]> wrote:
> I did this by adding 'required' => false, 'allowEmpty' => true in my
> validation array
One thing that is often overlooked (IMHO) is that the validation
option is for the model; not exactly for the form.
--
Email: rrjanbiah-at-
On Mar 7, 2:29 am, Mike <[EMAIL PROTECTED]> wrote:
> In CakePHP 1.2, one can define a validation rule (in a model) that
> calls a method to do the validation. If the method returns false,
> then whatever message was specified for that rule is displayed in the
> view, which is great for most of da
On Mar 7, 5:56 pm, Baz <[EMAIL PROTECTED]> wrote:
> Hey, there was information about data sizes or what the application does.
>
> But I have a fairly simple app running off of a practically empty database,
> that averages 10 MB. So again, I'm simply saying 16MB isn't enough for any
> substantial P
On Feb 29, 6:06 am, Jon <[EMAIL PROTECTED]> wrote:
> Like many other I'm shopping around for a framework. I'm playing with
> both CI and Cake.
FWIW, of late, I found that Kohana is the active fork of CI
--
Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/
--~--~
On Mar 7, 9:01 am, Baz <[EMAIL PROTECTED]> wrote:
> Exhausting 16MB is not impossible. This topic has come up before. I leave
> you with this: Out of the Box, Wordpress uses 5 MB. I run a blog that tops
> out at 15MB with a nice size database and a ton of plugins.
>
> So, for a project that actual
On Mar 1, 8:40 pm, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Mar 1, 2008, at 3:04 AM, R. Rajesh Jeba Anbiah wrote:
> > On Feb 29, 6:06 am, Jon <[EMAIL PROTECTED]> wrote:
> >> Like many other I'm shopping around for a framewo
On Feb 14, 8:36 pm, Baz <[EMAIL PROTECTED]> wrote:
> Good times! There are a lot of arguments as to which of these frameworks is
> better. But IMO, I think JQuery is better suited to CakePHP's uses. Just
> need to include the form plugin (can't live without it).
>
> Currently, I just dump a JS blo
On Feb 12, 3:56 am, Baz <[EMAIL PROTECTED]> wrote:
> Members:
>
>- This is a big one. Please try to understand that CakePHP is very
>intimidating to novices and sometimes people need *exact* examples.
>Not "hunt through this post with 12 different replies and try to pluck out
>
Thanks John for the reply. I really look forward to the new wiki-like
application.
- Rajesh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email t
pages of documentation at this point, but atleast i can help
find/edit something that is not correct or that can be enhanced to my
knowledge.
On Feb 7, 1:58 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Feb 7, 2008 1:03 PM, Rajesh <[EMAIL PROTECTED]> wrote:
>
>
&
Just a suggestion, why not open up a WIKI where everyone can
contribute and have a set of people as Moderators, that way sending
emails back and forth for documentation would reduce and also that
would ease the load on the people writing the current documentation.
-Rajesh
On Feb 1, 1:52 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Feb 1, 6:51 am, "R.RajeshJebaAnbiah"
>
> <[EMAIL PROTECTED]> wrote:
> > On Jan 31, 5:55 pm, AD7six <[EMAIL PROTECTED]> wrote:
> >> Cake automatically escapes data in db queries - you are already
> > > protected against sql injection. xs
On Jan 31, 5:55 pm, AD7six <[EMAIL PROTECTED]> wrote:
> Cake automatically escapes data in db queries - you are already
> protected against sql injection. xss etc is a different matter, and is
> an example of where sanitize fits in.
Having checked your codes in UploadBehavior and imp
On Feb 1, 10:50 am, José Pablo Orozco Marín <[EMAIL PROTECTED]>
wrote:
> Cake automatically escapes data in db queries - you are already> protected
> against sql injection. xss etc is a different matter, and is
> > an example of where sanitize fits in.
>
> Just a few questions:
>
> 1. If create
On Jan 23, 3:20 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> Store fields name and type in db, and use $form->inputs( $arrayOfFields );
As far as I have seen this, it's not that easy. Similar idea would
work with PEAR QuickForm, but cake's validations are tied up with
model and in
On Jan 28, 10:56 am, bhushan A <[EMAIL PROTECTED]> wrote:
> I have achieved 'pagination' and 'search' differently. Means when i
> am putting my search criteria in text field then records are getting
> displayed as per search criteria but but pagination is not as per
> search criteria. How to achi
On Jan 28, 4:21 am, MonkeyGirl <[EMAIL PROTECTED]> wrote:
> I'm trying to set up some RSS feeds using CakePHP.
FWIW, http://groups.google.com/group/cake-php/web/frequent-discussions
--
Email: rrjanbiah-at-Y!comBlog:http://rajeshanbiah.blogspot.com/
--~--~-~--~~--
On Jan 26, 10:38 pm, francky06l <[EMAIL PROTECTED]> wrote:
> I have got a problem, I can't, after examining few solutions, find the
> right ACL solution for the following.
Not an answer.. I don't know/haven't looked closely at ACL. But, I
think, othAuth can satisfy your conditions. Is the
On Jan 21, 2:10 pm, cakeFreak <[EMAIL PROTECTED]> wrote:
> I did the following while working on a dynamic questionnaires
> generation system.
I think, you've misunderstood my question. This is not about
multiple form inputs nor about DOM append.
Post RoR saga, many clients have s
1 - 100 of 248 matches
Mail list logo