Re: David Persson Media Plugin - Batch Image Upload

2011-11-08 Thread Shinya Koizumi
I wouldn't use flash ( I just can't ignore iOS ) , but I would use this one
http://valums.com/ajax-upload/



On Tue, Nov 8, 2011 at 9:25 PM, Greg Skerman  wrote:

> to upload multiple files, there is a flash gadget which can be used called
> SWFUpload
>
> here is a demo showing a classic multi-select file browser:
>
> http://demo.swfupload.org/v220/formsdemo/index.php
>
> Its not a complete media plugin, you'll need to either write a back end or
> massage an existing back end into service.
>
>
>
>
>
>
> On Wed, Nov 9, 2011 at 5:10 AM, BigZee  wrote:
>
>> I have been using the media plugin for quite some time on multiple
>> sites. I absolutely love it and it has always worked well for any
>> application I might need it on. However I have run into a situation
>> and would like to use this plugin, but cannot seem to find any
>> resources concerning this. I did find one post that said it was
>> possible, but that was about all.
>>
>> So I'm working on an auction site and the user needs to be able to
>> upload, say 50, images per auction. I'm sure given a single field
>> upload you could see how big of a pain this would be. So what I would
>> like to know, is there a way that the Media plugin can handle batch
>> uploading of multiple images at once?
>>
>> Thx...
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Jquery Mobile and CakePHP 1.3

2011-05-27 Thread Shinya Koizumi
I am actually going to create a mobile version of our web app ( HR tool )
but want to
take a different approach.

I was going to set up JQTouch ( JQuery library )and access the system
through ajax since the
some of interaction is mobile specific( touch panel specific ).

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Problem with debug - IMPORTANT

2011-05-19 Thread Shinya Koizumi
So now if u change back 2 what happen?

Sent from my iPhone

On 2011-05-19, at 8:06, "damia...@gmail.com"  wrote:

> Hi
> I've problem, I create function update in AJAX. All is fine but when I
> change debug on 0 show me Error: The requested address. I delete cache
> files , connect to database is correct. I don't have any idea how I
> can resolve this problem. Anybody has the same problem?
> Thanks for help
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: naming Model

2011-04-13 Thread Shinya Koizumi
I didn't mean it has to be perfect but i think this is rather necessary.

I won't be able to say which one is good but at least other framwork like
symfony and zend works like that.
The generator creates database abstraction layer and work on sub class so
that when you decide to change the
relationship or adding extra field you run the generator to remake those DAL
classes. Information of relationship
between tables can be kept on the ini file or xml file so that you don't
have to type or remember like you need to
do with the baker.



On Wed, Apr 13, 2011 at 2:32 AM, euromark wrote:

> bake simply isnt GOD
> it just can't guess any possible scenario you want to create.
> especially with some model + foreign_key relations, custom fields or
> even virtual fields etc.
> as soon as you need to change (and you always will!) the baked files,
> re-baking simply forgets all
> your custom changes.
>
> if you want it to be god, go ahead, and try to tweak it this way.
> i bet you will dead end pretty soon.
>
> you need to see bake as a great help at the beginning.
> as a time saver and a coding machine that helps you to get the CRUD
> started.
> everything else after that is your own responsibility (and done
> manually twice as fast as re-baking anyway).
> It is important to have a solid DB structure at the beginning. this
> way, there will be only minor changes.
> If you start up messy you will - of course - run into heavy
> restructuring problems..
>
> abstract classes - while extending the AppModel might be pretty hairy,
> I imagine.
> it also adds another layer. Not sure if others would agree.
> A change to make this a core feature you might want to add as a ticket
> on http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets
> If possible with a patch. Maybe it will clarify things.
> But I am still not quite convinced that i'll work out.
>
>
>
> On 13 Apr., 08:59, Shinya Koizumi  wrote:
> > That's why it's useless.
> >
> > If it's a simple copy-and-paste thing why bother using it?
> >
> > If we want to use the baker to speed up the development I think we need
> > it to generate abstract class for each tables ( probably within /cake
> folder
> > )
> > and you work on the sub class if you want to add extra functions. That
> way
> > you never have to touch the abstract classes
> >
> > On Tue, Apr 12, 2011 at 3:23 PM, euromark  >wrote:
> >
> >
> >
> >
> >
> >
> >
> > > you only bake once!
> > > after that you need to manually adjust the relations
> > > its a simple copy-and-paste thing
> > > no need to override (and therefore delete) previous changes
> >
> > > On 13 Apr., 00:07, Shinya Koizumi  wrote:
> > > > Well the bake itself works.
> >
> > > > Problem I see is that I usually create a functions in models, but
> later
> > > on
> > > > when I decided to join another table and make the hasmany
> relationship in
> > > > bake
> > > > it will overwrite those functions that I made within the class.
> Instead I
> > > > need to edit manually( to make the relationship ).
> > > > That's why I think bake doesn't really work the way I want to.
> >
> > > > Or yo don't usually change the model classes?
> >
> > > --
> > > Our newest site for the community: CakePHP Video Tutorials
> > >http://tv.cakephp.org
> > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > > others with their CakePHP related questions.
> >
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@googlegroups.com For more options, visit this
> group
> > > athttp://groups.google.com/group/cake-php
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: naming Model

2011-04-12 Thread Shinya Koizumi
That's why it's useless.

If it's a simple copy-and-paste thing why bother using it?

If we want to use the baker to speed up the development I think we need
it to generate abstract class for each tables ( probably within /cake folder
)
and you work on the sub class if you want to add extra functions. That way
you never have to touch the abstract classes






On Tue, Apr 12, 2011 at 3:23 PM, euromark wrote:

> you only bake once!
> after that you need to manually adjust the relations
> its a simple copy-and-paste thing
> no need to override (and therefore delete) previous changes
>
>
> On 13 Apr., 00:07, Shinya Koizumi  wrote:
> > Well the bake itself works.
> >
> > Problem I see is that I usually create a functions in models, but later
> on
> > when I decided to join another table and make the hasmany relationship in
> > bake
> > it will overwrite those functions that I made within the class. Instead I
> > need to edit manually( to make the relationship ).
> > That's why I think bake doesn't really work the way I want to.
> >
> > Or yo don't usually change the model classes?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: naming Model

2011-04-12 Thread Shinya Koizumi
Well the bake itself works.

Problem I see is that I usually create a functions in models, but later on
when I decided to join another table and make the hasmany relationship in
bake
it will overwrite those functions that I made within the class. Instead I
need to edit manually( to make the relationship ).
That's why I think bake doesn't really work the way I want to.

Or yo don't usually change the model classes?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: naming Model

2011-04-08 Thread Shinya Koizumi
>It's TemplatesController (plural ;-)
I say it only works if it's singlular when I use plural TemplatesController
it gives me a blank screen ( this is my fav part of cakephp. Drupal doesn't
do that often. )

Love when people picking up my bad english. Maybe 'cause we are spreading
too much radiation? Don't worry it's coming on your way. :p

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: naming Model

2011-04-08 Thread Shinya Koizumi
nevermind, i figured out how to use the same name between controller and
model by using

$this -> loadModel( 'SurveyTemplate' );
$this -> SurveyTemplate -> useDbConfig = $this -> db_name;

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: naming Model

2011-04-08 Thread Shinya Koizumi
I just remove the model from $uses in TemplateController for debugging
purpose.
Seems like the controller only works with singular

for $domain,
$domains = explode(".",$_SERVER["HTTP_HOST"]);




On Fri, Apr 8, 2011 at 5:08 PM, cricket  wrote:

> On Fri, Apr 8, 2011 at 7:55 PM, cake-learner  wrote:
> > I have following Controller and Model set up manually since the baker
> > is not so easy to use.
> > But somehow I can't get to work. First of all, about the class name, I
> > am not sure why they want to use singular for model and plural for
> > controller
>
> A model represents a single entity. So, singular. A controller handles
> collections of entities (in a sense). So, plural.
>
> > and small letters for routes.php. It's been nightmare with cakephp
> > project for last 5 months.
> >
> > class TemplatesController extends AppController {
> >  $name = "Templates";
> >  function index(){
> >  }
> > }
>
> If you're using PHP 5.x you can leave out $name here.
>
> > class Template extends exends Model{
> >  $name = "Template";
> > }
>
> Typo? And it's AppModel.
>
> class Template extends AppModel
>
> Ditto about $name here.
>
> > Router::connect('/template_page/:id',array('controller'=>templates',
> > 'action' => 'index',  'client'=>$domains[0]) );
>
> I don't understand what $domains is so no comment.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: save object in Session Component

2011-04-06 Thread Shinya Koizumi
has any done this way?

On Tue, Apr 5, 2011 at 11:15 AM, cake-learner  wrote:

> I have set up an application object to save all info in session, but I
> don't know how to save with "cakephp" session.
>
> In app_controller, i have set up like this in beforefilter() and
> beforeRender() but I am not able to retrieve the informatoin when i go
> to the next page. What I am doing wrong here?
>
> beforefilter(){
>   if( $gwo = unserialize( $this -> Session -> read( "GWO" ) )
> instanceof GWO ) ){
>$this -> gwo = $gwo;
>   }else{
>$this -> gwo = new GWO();
>  }
> }
>
> and
>
> beforeRender(){
>  $this -> Session -> write( "GWO", serialize( $this -> gwo ) );
> }
>
> class GWO{
>var $curUser;
>var $curSurv;
>var $curRev;
>var $curEmp;
>var $curDep;
>var $depList;
>var $surveyType;
>var $curSurv_id;
> }
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: .Net Developer Job Opening - Valencia, CA

2011-04-02 Thread Shinya Koizumi
Thanks howver I am not interested in

On Fri, Apr 1, 2011 at 3:41 PM, Makro Tech  wrote:

> Hi
>
> This is Vignesh with Makro Technologies, Inc.
> We have been in business for over 10 years and we are one of the Fast 500
> National IT staffing and Solution firms in USA. Our clients include
> country’s top-notch IT, Healthcare, Pharmaceutical, Financial,
> Telecom,Government and other industries.
>
> Staying current with technology, finding great consultants and exceeding
> our clients' expectations are our primary objectives.
>
> Thanks for your time and attention to this e-mail.  Please let me know if
> you have any candidates available, please find the Job description as
> mentioned below.
>
> *Title : .Net Developer
> Location : Valencia, CA
> Duration :6 Months*
> *Responsibilities:*
> • Work closely with business representatives and other team members to
> understand business requirements that drive the analysis, design and
> development of quality technical solutions that align with business and IT
> strategies and comply with corporate and regulatory standards
> • Direct and participate in the full software development lifecycle
> • Make recommendations towards the development of new systems or reuse of
> existing systems
> • Work on medium to large, varied and complex projects that require skill
> in multiple technical environments and knowledge in various business areas
> • Work on multiple simultaneous projects as a project team member and/or as
> a project lead
> • Coach and/or mentor more junior technical staff
> *
> Required Skills*
> • Bachelor degree in Computer Science or a related area
> • 7+ years of programming/systems analysis experience
> • Waterfall SDLC experience
> • Ability to be a self-starter in a dynamic and fast paced environment
> • Microsoft technologies, including .Net, C#, VB.Net, ASP.Net, XML, HTML,
> JavaScript.
> • Tools: Visual Studio .Net 2008, SQL Server 2000-2008, SVN
> • Database technologies: Microsoft SQL, Oracle PL/SQL
> • Reporting systems: Crystal Reports Server 2008
> • Regulatory software validation experience a plus
>
> Thanks
> *Vignesh
> *Sr Talent Acquisation Consultant
> Tel: 973-481-0100  Ext: 3069
> Fax: 973 883 1488
> *E mail:* vignesh.renik...@makrohealth.com
> Linkedin: 
> *http://www.linkedin.com/in/vignesh1* 
> (Accept
> All Invitations to your's and My Professional Network)
> http://www.twitter.com/Makro_Tech (follow me get Followed back)
>
> For current openings please visit
> http://jobs.makrotech.com/searchjobs.aspx
>
> Candidate HelpDesk: 973-679-5005
> *
> Makro Technologies Inc.*
> www.makrotech.com
> Corporate Headquarters: New Jersey
> One Washington Park, Suite 1502, Newark, NJ 07102
> *Other Offices:* Pennsylvania, Illinois, California
> ** Makro is a 3-time INC 5000 company for 2007/2008/2009
> ** Makro is a 3-time FAST 50 firm in NJ for 2005/2006/2007 (by Deloitte)
> ** Makro is a 3-time FAST 500 firm in USA for 2005/2006/2007 (by
> Deloitte)
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: execute query twice in a short time is a problem?

2011-04-01 Thread Shinya Koizumi
CakePHP didn't or couldn't do it that's why i was experimenting something
different.


On Fri, Apr 1, 2011 at 12:25 AM, Ryan Schmidt wrote:

> On Mar 31, 2011, at 14:52, cake-learner wrote:
>
> > foreach( $arrEmp as $employeeObj ){
> > $options = array( "survey_name" => $surveyObj[ 0 ][ 'Survey' ]
> > [ 'survey_name' ] );
> > $this -> Notification -> create( 'Report card is realeased','',
> > $currentUser[ 'Account' ][ 'id' ], $employeeObj[ 'e' ]
> > [ 'accounts_id' ], 7, "HR Department", $options );
> > }
> >
> > /**
> > * create function in Notification Component
> > */
> > function create( $subject, $message="", $creator, $recepient, $type =
> > 0, $from, $options=null ){
> > $this -> controller -> loadModel('Notification');
> > $this -> controller ->  Notification -> create();
> > $notification[ 'subject' ] = htmlentities( $subject );
> > $notification[ 'message' ] = htmlentities( $message ) .
> > $defaultMessage;
> > $notification[ 'from' ] = htmlentities( $from );
> > $notification[ 'creator' ] = $creator;
> > $notification[ 'sentto' ] = $recepient;
> > $notification[ 'type' ] = $type;
> >
> > foreach( $notification as $key => $value ){
> >  $arrKey[] = $key;
> >  $arrValues[] = $value;
> > }
> >
> > $sql .= "INSERT INTO notifications (" . implode( ",", $arrKey ) . ")
> > values (" . implode( "," , $arrValues ) . " )";
> > $this -> controller ->  Notification -> Query( $sql );
> > }
>
> This looks fairly messy. Why are you writing raw SQL and not letting a
> CakePHP model do it for you?
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: You favorite IDE/ Dev Setup?

2011-03-30 Thread Shinya Koizumi
CentOS
Subversion
Zend Studio( Remote Server + SVN )
Apache/Mysql
shell Scripts( push to live )

On Wed, Mar 30, 2011 at 12:49 PM, Chris  wrote:

> How do you develop for CakePHP? OS, Editor, control system, etc.?
> Ubuntu 10.10
> Geany
> GIT
> Apache/MySql
> Bunch of Shell scripts
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: syncing two databases

2011-03-30 Thread Shinya Koizumi
Maybe for now I just set up a a file with sql command to propagate changes
to the live database when pushing code to live.

On Tue, Mar 29, 2011 at 4:06 PM, Ryan Schmidt wrote:

>
> On Mar 29, 2011, at 11:29, cake-learner wrote:
>
> > Is there any way to sync tables schema between two databases?
> > I have already set up a script to push source code to live whenever
> > it's ready, but
> > i want to know there is a way to sync tables to make sure any changes
> > on database
> > will be updated to live database as well. I know there are a couple of
> > ways to do it and saw
> > that desktop application to do it, but i want to know if there are
> > ways that more people follow.
>
> I think the CakePHP way is to use the Migrations plugin.
>
> https://github.com/CakeDC/migrations
>
> This is not automated of course. It requires you to think about changes you
> make to the database and recording each properly. Database migration is a
> complicated topic.
>
>
>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Performance of CakePHP 2.0

2011-03-24 Thread Shinya Koizumi
>>development mode vs. no debug mode
Is this just matter of "debug" => 0,1,2, right?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: select multiple options

2011-03-15 Thread Shinya Koizumi
input('SurveyCategory.'.$index.'.department_list',
array('options' => $department_list, 'selected' => array(232, 233),
'multiple' => true, 'class' => 'input_selection group_selection')); ?>
Didn't work I also added 'type' => 'select' in the array but still didn't
work

>The rest should be fine? I did notice some duplicate arrays .
one is just a part of element's name and the other for variable.


On Tue, Mar 15, 2011 at 6:36 AM, Stephen wrote:

> Try this instead:
>
> input('SurveyCategory.'.$index.'.department_list',
> array('options' => $department_list, 'selected' => array(232, 233),
> 'multiple' => true, 'class' => 'input_selection group_selection')); ?>
>
> I wouldn't use short tag ( versions of PHP.
>
> Also I wouldn't use $form->select, input should do the trick better, just
> pass $department_list as the value for the key options.
>
> The rest should be fine? I did notice some duplicate arrays .
>
> HTH
>
> --
> Kind Regards
>  Stephen
>
>  http://www.ninjacodermonkey.co.uk
>
>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: session not saved in app controller

2011-03-14 Thread Shinya Koizumi
Thanks beforeRender worked.
Like you said maybe i was misunderstanding the use of afterFilter.

On Mon, Mar 14, 2011 at 12:09 AM, hunny  wrote:

> Not sure about the afterFilter function. Are you sure this is being
> invoked automatically?
> Otherwise you can probably right the same logic in beforeRender
> Function.
>
> On Mar 14, 6:51 am, cake-learner  wrote:
> > I set up my app object in both beforeFilter and afterFilter callback
> > functions
> >
> > class AppController extends Controller{
> >
> >var $myAppObj;
> >var $components = array("Site" , "Notification", "Auth", "Mailer",
> > "Session");
> >
> >function beforeFilter(){
> > $this -> myAppObj = unserailize( $this -> Session ->
> > read( 'AO' ) );
> >}
> >function afterFilter(){
> >$this -> Session -> write( 'AO', $this -> myAppObj );
> >}
> >
> > }
> >
> > however the session 'AO' is not saved when i go to other pages.
> > Do you guys know how I am doing wrong?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: SSL Help

2011-03-12 Thread Shinya Koizumi
in order to support SSL do i have to change anything on my program?
I thought we only need to deal on system level. Install and change apache
config

On Fri, Mar 11, 2011 at 9:57 PM, Krissy Masters
wrote:

> Thanks everyone.
>
> @Jeremy Will give this a shot. Found a SSL component I guess pre-your
> modifications.
>
> Keep you posted.
>
> K
>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: move to new server

2011-02-15 Thread Shinya Koizumi
I did not have any access to ssh for this site so i didn't use baker at all.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: find all not working.

2011-02-14 Thread Shinya Koizumi
On Mon, Feb 14, 2011 at 12:58 PM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:

> That all looks a little unusual. Can you explain in non-code terms what you
> are trying to do?
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.com
> http://www.classoutfit.com
>
> On 14 Feb 2011, at 20:55, cake-learner wrote:
>
> > Very often i got this error and i had to do custom query why it's not
> > putting '*'?
> >
> > $this -> loadModel( 'Company.Role' );
> > $this -> Role -> useDbConfig = $this -> db_name;
> > $arrRoles = $this -> Role -> find( "all" );
> >
> > Warning (512): SQL Error: 1064: You have an error in your SQL syntax;
> > check the manual that corresponds to your MySQL server version for the
> > right syntax to use near 'FROM `roles` AS `Role`   WHERE 1 = 1' at
> > line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 535]
> >
> > Code | Context
> >
> > $sql  =   "SELECT  FROM `roles` AS `Role`   WHERE 1 = 1   "
> > $error=   "1064: You have an error in your SQL syntax; check
> the manual
> > that corresponds to your MySQL server version for the right syntax to
> > use near 'FROM `roles` AS `Role`   WHERE 1 = 1' at line 1"
> >
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> > Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
> >
> >
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

I am just trying to search on Model from different Controller.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: SWF Uploader ... or any Good One...?

2011-02-11 Thread Shinya Koizumi
meioupload is there a demo page i can look? I went to the page wasn't able
to find.
i found the problem with uplodify is the button doesn't work on ipad since
it's the browse button is flashswf file.

I also need a uploader but not flash based but if it has the progressbar
that would be great.



On Fri, Feb 11, 2011 at 1:39 PM, Meroe Meroe  wrote:

> I use meioupload.  You have to ask yourself if you really need the
> javascript stuff or do you just need something that uploads without the
> bells and whistles.
>
>
> On Fri, Feb 11, 2011 at 2:32 PM, huoxito  wrote:
>
>> I used uploadify once and worked great though the app was not built on
>> cakephp., lookin forward to try to implement it with cakephp
>>
>>  --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Does the CakePHP ready for 'Large Scale' web applications?

2011-02-03 Thread Shinya Koizumi
If the site is going to get more ajax driven sites like facebook i wouldn't
recommend to use since
the framework is not ready and it will take more time to figure out. Just my
opinion.





On Wed, Feb 2, 2011 at 11:04 PM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:

> Always makes me chuckle when people are asking if their app can handle
> Facebook style traffic. Don't waste time solving problems you don't yet
> have.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.com
> http://www.classoutfit.com
>
> On 3 Feb 2011, at 07:01, keymaster wrote:
>
> > You'll be lucky if you reach a small fraction of the traffic the sites
> > in the following thread get:
> >
> >
> http://groups.google.com/group/cake-php/browse_thread/thread/a87ac46d4f590566#
> >
> > In particular, watch this wonderful presentation on CakePHP TV,
> > entitled: "CakePHP at massive scale on a budget", by Andy Gale.
> >
> >
> http://tv.cakephp.org/video/CakeFoundation/2010/12/24/andy_gale_-_cakephp_at_massive_scale_on_a_budget
> >
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> > Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
> >
> >
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.comFor
> >  more options, visit this group at
> http://groups.google.com/group/cake-php
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Has anyone used Geonames without webservice?

2011-01-31 Thread Shinya Koizumi
I think it's difficult to download all the stuff in local and how do you
maintain?

I think google map api is your best choice. What you can do is save the
unique query( keyword and resolved lat,lon ) in database so that for popular
places you don't always have to go to  web service
.

On Mon, Jan 31, 2011 at 12:32 PM, Dave Maharaj  wrote:

>  Just wondering is anyone has used the geonames database with cake but
> with own database, not thru webservices?
>
>
>
> I know it’s a monster database in size but I do not like the idea of using
> a service that’s not on my own server. If it goes down then it affects my
> site so just curious if anyone has implemented it?
>
>
>
> I have the db setup and basic model / controller to test out queries, but
> my way takes much longer than the webservices version so just curious if
> anyone has had any success?
>
>
>
> Thanks,
>
>
>
> Dave
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: AjaxHelper

2011-01-31 Thread Shinya Koizumi
How about setting up a new input box "tag" with "add" button and add tags to
hidden input so when save the post on submit it is available from control
and don't need to use
any ajax but javascript in client side?


On Mon, Jan 31, 2011 at 1:28 PM, elias  wrote:

> I tried searching for tutorials on the web, but I couldn't find any.
> Maybe I am using the wrong keywords, but I hope someone here, could help me
> out.
>
> I have a blog - like model, and a tag model, that is associated with it
> (hasMany).
> So I can assign tags to new posts. But adding a new tag, makes me have to
> close the post, create the tag and then restart with the post.
>
> So I would like to be able to add tags with the AjaxHelper, when in the new
> blog post.
>
> Anyone who knows a good tutorial for this?
>
> Thx
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Numeric Keys with Form Select

2011-01-31 Thread Shinya Koizumi
Hopefully form can be created in oop way, too.
$form = new Select();
$form -> multiselection = true
$form ->addItem(1, 'item1');


On Sun, Jan 30, 2011 at 10:27 PM, andy_the ultimate baker <
anandghaywankar...@gmail.com> wrote:

> hi,
> ur issue is very often,
>
> now use
> echo $this->Form-
> >input('category_id',array('id'=>'SearchCategories') );
> //assuming that ur has category_id as first field
>
> but if u have fields id and then category_id then in ur controller u
> need to fetch the data by following way
>
> $this->Categories->find('list', array('Category.category_id',
> 'Category.name'));
> $this->set(compact('categories'));
>
> and i ur view u nedd to use it like bellow
>
> $this->Form->input('Category', array('options'=>$category));
>
> i hope this will display u the required output,
> reply if it works
>
> best regards
>
> Andy
>
>
> On Jan 31, 10:55 am, Jeremy Burns | Class Outfit
>  wrote:
> > By default, the helper will use the id and name (or title) fields from
> your related lookup table, and you populate the options by:
> >
> > $categories = $this->[Model]->Category->find('list'); ([Model] is the
> model associated with the current controller)
> >
> > You then pass that variable (using set) into the view from your
> controller. The input:
> >
> > echo $this->Form->input('category_id');
> >
> > ...will then automatically look for a variable called $categories. If it
> is present, it will use those values, or the variable you have specified
> ('category_list', in your case).
> >
> > If you are deviating away from this standard you can expect the
> unexpected and the need to do some hacking. Looks like the problem is the
> way you are building your options array, or possibly the data type of the
> underlying field, 'category'; is that a varchar/char? It really ought to be
> called category_id to meet with conventions, and I would use Form->input,
> not Form->select.
> >
> > Jeremy Burns
> > Class Outfit
> >
> > jeremybu...@classoutfit.comhttp://www.classoutfit.com
> >
> > On 29 Jan 2011, at 21:05, richfarr wrote:
> >
> > > I'm using the FormHelper (cake 1.3) to create a select box from an
> > > array. The array uses numbers as keys but the select box ignores those
> > > numbers and uses a zero-based index for the select box option values.
> > > I've tried typing the array key to a string using both (string)$key
> > > and strval($key) with no luck. The select options work when I prepend
> > > a letter before the numeric key (i.e. 'c'.$key ) but I'd like to avoid
> > > this hack.
> >
> > > Is there a way to force FormHelper to use the actual numeric keys
> > > without prepending a letter? Any help would be appreciated.
> >
> > > See the following code for illustration:
> >
> > > // $category_list looks like this
> > > Array
> > > (
> > >[164] => Antiques & Art
> > >[83] => Baby/Children Needs
> > >[176] => Boats/Marine/Fishing
> > >[222] => Books & Magazines
> > >[287] => Building Materials
> > >[215] => Business
> > >[175] => Caravans & Motor Homes
> > >[169] => Cars & Other Vehicles
> > >[127] => Clothing & Accessories
> > >[92] => Computers & Electronics
> > >[358] => Farm & Agriculture
> > >[235] => Garage Sales/Yard Sales
> > >[309] => Garden & Yard
> > >[178] => General Merchandise
> > >[138] => Health & Beauty
> > >[186] => Hobbies & Collectables
> > >[63] => Household
> > >[234] => Information
> > >[388] => Motorbikes & Scooters
> > >[206] => Musical Instruments
> > >[449] => Notices
> > >[305] => Pets and Accessories
> > >[242] => Positions Vacant
> > >[236] => Real Estate & Rentals
> > >[243] => Services
> > >[143] => Sports Equipment
> > >[308] => Tools & Equipment
> > >[300] => Travel & Holiday
> > > )
> >
> > > // Output category select box
> > > echo $form->select(
> > >'category',
> > >$category_list,
> > >$category,
> > >array('id'=>'SearchCategories')
> > > );
> >
> > > // Outputs like this
> > > Antiques & Art
> > > Baby/Children Needs
> > > Boats/Marine/Fishing
> > > Books & Magazines
> > > ...
> >
> > > // I'd like it to output like this
> > > Antiques & Art
> > > Baby/Children Needs
> > > Boats/Marine/Fishing
> > > Books & Magazines
> > > ...
> >
> > > --
> > > Our newest site for the community: CakePHP Video Tutorialshttp://
> tv.cakephp.org
> > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> others with their CakePHP related questions.
> >
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@googlegroups.comFor
> > >  more options, visit this group athttp://
> groups.google.com/group/cake-php
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comF

Re: Is there any way to incldue all models automatically

2011-01-31 Thread Shinya Koizumi
I just took over the project going and was built on cakephp so i need to
continue developing on the cakephp.
Not going back at the moment.





On Sat, Jan 29, 2011 at 1:20 PM, Ryan Schmidt wrote:

>
> On Jan 29, 2011, at 05:21, Shinya Koizumi wrote:
>
> >> What other frameworks are you referring to?
> >
> > http://www.symfony-project.org/
> > http://www.qcodo.com/
>
> Thanks for the links, those look interesting. What prompted you to switch
> from these to CakePHP -- or are you going to switch back, or use both / all
> of them for different projects?
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Is there any way to incldue all models automatically

2011-01-29 Thread Shinya Koizumi
http://www.symfony-project.org/
http://www.qcodo.com/

On Fri, Jan 28, 2011 at 11:05 PM, Ryan Schmidt
wrote:

>
> On Jan 28, 2011, at 21:49, Shinya Koizumi wrote:
>
> > I always struggle with just define this relationship and how I can call
> on different stage ( on another control or on another module )
> > whereas it was very easy on another frameworks.
>
> What other frameworks are you referring to?
>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Is there any way to incldue all models automatically

2011-01-28 Thread Shinya Koizumi
I always struggle with just define this relationship and how I can call on
different stage ( on another control or on another module )
whereas it was very easy on another frameworks. I could have use the baker
but not really easy to use.
It should be just configuration file that you need to add and run the baker
without asking any question, then update would have been very easy.
Also make it so that baker can be run from browser.

Time to time i get this kind of monior error and stumble which is such a
waste of time.

$sql="SELECT  FROM `employees` AS `Employee`   WHERE 1 = 1   "
$error="1064: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use
near 'FROM `employees` AS `Employee`   WHERE 1 = 1' at line 1"
$out=null

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Always having trouble adding new tables

2011-01-24 Thread Shinya Koizumi
never mind i didn't have debug level to 2

On Mon, Jan 24, 2011 at 3:37 AM, cake-learner  wrote:

> When i add new table it sometimes say request address "/somepath/
> somepath" was not found on this server.
> I know i configure model wrong because of this it takes time to find
> the problem. Is there any way to see proper error?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: IDE

2010-12-23 Thread Shinya Koizumi
Thanks

Sent from my iPhone

On Dec 23, 2010, at 1:09 AM, Angel Robert Marquez  
wrote:

> linux
> vim
> gedit
> 
> mac OS
> vim
> textmate
> coda
> 
> windows
> notepad2
> eclipse
> aptana
> 
> 
> 
> 
> 
> On Wed, Dec 22, 2010 at 12:11 AM, fadhli  wrote:
> netbeans
> 
> 
> On Wed, Dec 22, 2010 at 12:32 PM, Amit Badkas  wrote:
> Hi,
> 
> I use easy eclipse for PHP 
> (http://www.easyeclipse.org/site/distributions/php.html). I have also used 
> Aptana IDE once but found easy eclipse better.
> 
> Amit Badkas
> 
> PHP Applications for E-Biz: http://www.sanisoft.com
> 
> 
> 
> On Tue, Dec 21, 2010 at 8:27 PM, Kristofer  wrote:
> What IDE do people typically use with CakePHP?  I've been doing stuff
> from the Linux command line using vim for so long.  I'd like something
> more graphical that (hopefully) supports SVN.  Looking for more point-
> and-click.  :)
> 
> 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" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
> 
> 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" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
> 
> 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" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
> 
> 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" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

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" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: IDE

2010-12-23 Thread Shinya Koizumi
Does any know if they provide a plugin for pdt  or zend studio

Sent from my iPhone

On Dec 22, 2010, at 6:08 PM, huoxito  wrote:

> I use Komodo Edit, free version, it has a nice plugin for cakephp with 
> autocomplete, it get a little bit slow sometimes on ubuntu but it's great. 
> Sometimes I try to use gedit but it lacks a lot of interesting stuff like 
> 'ctrl + y' to redo things, tabbing the code is not so good.
> 
> Also some good programmers I know have strongly encouraged me to use vim. I 
> guess I need to take a huge look at it.
> 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" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

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" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: IDE

2010-12-21 Thread Shinya Koizumi
I use zend studio but autocomplete feature is no use since all the data is 
handle in array.  

Sent from my iPhone

On Dec 21, 2010, at 2:04 PM, "Robert J. Maiolo"  wrote:

> eclipse for the win
> 
> On Tue, Dec 21, 2010 at 6:57 AM, Kristofer  wrote:
> What IDE do people typically use with CakePHP?  I've been doing stuff
> from the Linux command line using vim for so long.  I'd like something
> more graphical that (hopefully) supports SVN.  Looking for more point-
> and-click.  :)
> 
> 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" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
> 
> 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" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

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" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


RE: session problem or misunderstanding.

2010-12-19 Thread Shinya Koizumi
For 1.2.8, How do I enabled that again? I am already using this for another
control, but don't remember
How I did it.

-Original Message-
From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
Of James K
Sent: Sunday, December 19, 2010 7:24 PM
To: CakePHP
Subject: Re: session problem or misunderstanding.

Do you have the Session component enabled for the controller? If you
debug out $this->Session you should get a debug out of the object. If
you're getting nothing, it could also be that you have debug turned
off in your core.php config file.

On Dec 19, 9:40 pm, cake-learner  wrote:
> I am trying to pass a variale with session but without success for a
> while.
> within the same controller i go $this -> Session -> write( 'id', 1 );
> $this -> Session -> read( 'id' );
>
> i gotta nothing and empty when i go debug( $this -> Session );
> I tried with $_SESSION so i guess within the same controller i can't
> pass with session?
>
> I have this line $helpers = array( 'Session' ) in the controller and
> there are already some controllers using session.

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" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en

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" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


RE: possible to create a nested post with forms?

2010-12-16 Thread Shinya Koizumi
Looks like if I use the name with index like 'category.0.subcategory' but
I can't get consistent result. 

Is there any limitation of how deep I can go?

I am using 1.2.8

Shinya

-Original Message-
From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
Of cake-learner
Sent: Wednesday, December 15, 2010 10:54 PM
To: CakePHP
Subject: possible to create a nested post with forms?

I am trying create a form so that when post that data this will still
keep the relationships with other element.
Say i have a category name and a subcategory name like shown in below.
How can i define the form so that the relationship between this
category and subcategory will be kept when submitted?

Category 1
-subcategory 1
Categ 2
-subcategory 1
-sbucategory 2

and this form is submited

Array{
   Category => Array{
  name => 'Category 1'
  subcategory => Array{
   'name' =>
'subcategory'
}
}

 input( 'Category.name', array( 'name' =>
'Category.name[]', 'label' => '', 'class' => 'category_title' ) ); ?>

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" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en

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" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Time Helper

2010-12-09 Thread Shinya Koizumi
I am not big fan of this add helper class name to array to enable it.
Is there anyway to enable all helper classes or some of helper classes
loaded automatically or
some of helper classess should be core so they don't have to enable them
when using them?

For classes like this, i want to use as static class so that you can
Time::niceShort(). But it's just me.

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" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: why i have to put another modal class name in $uses?

2010-12-09 Thread Shinya Koizumi
Jeremy, thanks for detail description.

I am taking over someone's code and it has about 50 tables.
I was reluctant to map out the join at this stage, but i guess i have to.
( i didn't want to join the newly created table with old ones. i guess i am
lazy ;) )

If there is a graphical tool to make this config that would be nice.

I know i could use the the command line( baker? ) is kind of confusing and
mistake-prone
when the join has to be done more than 4 or 5 tables.

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" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en