Re: Backend best option

2010-08-03 Thread tracyfloyd
We typically do a separate admin site on a subdomain. The two sites
can sometimes get quite complex and its just cleaner to separate the
two. The biggest benefit in my opinion, though is that you can work on
admin functionality without having to worry so much about touching/
bringing down the public site. Doing this does duplicate some code -
but not much - and you can run both off the same install of cake if
you want (so you just have your two separate app dirs). But we usually
do two full installs of cake so that things are fully separated. - My .
02








On Aug 3, 4:59 am, Andy Gale  wrote:
> On Mon, Aug 2, 2010 at 6:27 PM, mike karthauser  
> wrote:
> > hi hugo
> > making one application with front end and backend functionality is far
> > superior to creating and maintaining two apps.
> > it seems you might benefit from reading book.cakephp.org
> > mikek
>
> Definitely from a code generation point of view but maybe not from a
> performance point of view. Depends how important performance is
> really.
>
> --
> Andy Galehttp://andy-gale.comhttp://twitter.com/andygale

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: mac users, which ide are you using to develop cakephp?

2010-04-20 Thread tracyfloyd
+1 for TextMate

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: Trouble integrating SWFUpload with cakephp project

2009-08-07 Thread tracyfloyd

Maybe this? http://swfupload.org/forum/generaldiscussion/176


On Aug 6, 3:38 pm, Robert McWay  wrote:
> Also..the swf upload settings in my view might help also:
>
> link(array('swfupload/swfupload', 'swfupload/plugins/
> swfupload.queue', 'swfupload/fileprogress', 'swfupload/handlers')) ?>
> 
> var swfu;
>
>                 window.onload = function() {
>                         var settings = {
>                                 flash_url : 
> "url('/js/swfupload/Flash/swfupload.swf')?>",
>
>                                 upload_url: "url('/files')?>",
>                                 file_size_limit : "100 MB",
>                                 file_types : "*.*",
>                                 file_types_description : "All Files",
>                                 file_upload_limit : 100,
>                                 file_queue_limit : 0,
>                                 custom_settings : {
>                                         progressTarget : "fsUploadProgress",
>                                         cancelButtonId : "btnCancel"
>                                 },
>                                 debug: true,
>
>                                 // Button settings
>                                 button_width: "65",
>                                 button_height: "29",
>                                 button_placeholder_id: 
> "spanButtonPlaceHolder",
>                                 button_text: ' class="theFont">Hello',
>                                 button_text_style: ".theFont { font-size: 16; 
> border: 1px
> solid;}",
>                                 button_text_left_padding: 12,
>                                 button_text_top_padding: 3,
>
>                                 // The event handler functions are defined in 
> handlers.js
>                                 file_queued_handler : fileQueued,
>                                 file_queue_error_handler : fileQueueError,
>                                 file_dialog_complete_handler : 
> fileDialogComplete,
>                                 upload_start_handler : uploadStart,
>                                 upload_progress_handler : uploadProgress,
>                                 upload_error_handler : uploadError,
>                                 upload_success_handler : uploadSuccess,
>                                 upload_complete_handler : uploadComplete,
>                                 queue_complete_handler : queueComplete  // 
> Queue plugin event
>                         };
>
>                         swfu = new SWFUpload(settings);
>              };
>         
>
> On Aug 6, 12:35 pm, Robert McWay  wrote:
>
>
>
> > Does anyone possibly have a fully functioning example hey could share:
> > still having problems...i am trying to follow the "Simple Demo"
> > example on the swf upload 
> > site:http://demo.swfupload.org/v220/simpledemo/index.php.
>
> > every time something gets add to the queue, i get a 403 error. Here is
> > the relevant output from the swf debug window when i turn that on:
>
> > SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select.
> > Allowed file types: *.*
> > SWF DEBUG: Select Handler: Received the files selected from the
> > dialog. Processing the file list...
> > SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
> > SWF DEBUG: Event: fileDialogComplete : Finished processing selected
> > files. Files selected: 1. Files Queued: 1
> > SWF DEBUG: StartUpload: First file in queue
> > SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
> > SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and
> > readied for upload.  Starting upload to /files for File ID:
> > SWFUpload_0_0
> > SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
> > SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes:
> > 98304. Total: 133263
> > SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes:
> > 131072. Total: 133263
> > SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes:
> > 133263. Total: 133263
> > SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0.
> > HTTP Status: 403.
> > SWF DEBUG: Event: uploadComplete : Upload cycle complete.
> > Error Code: HTTP Error, File name: screenshot3.JPG, Message: 403
>
> > Any ideas?
>
> > On Aug 6, 3:04 am, Pascal Messana  wrote:
>
> > > Hi,
>
> > > I made it work, what do you want to do exactly ?
>
> > > There are problems with sessions, I had to use cookies (of course I
> > > made many security controls).
>
> > > On 5 août, 22:11, Robert  wrote:
>
> > > > I've been trying to integrate SWFUpload 2.0.2 with my CakePHP 1.2
> > > > application, and have been stuck for a few days now...after endless
> > > > searching, i've only been able to find solutions such 
> > > > ashttp://bakery.cakephp.org/articles/view/swfupload-and-multipurpose-up...,
> > > > which is for cake 1.1, and swfupload 1.0. Has anyone been able to
> > > > integrate the 

Re: Trouble integrating SWFUpload with cakephp project

2009-08-06 Thread tracyfloyd

Also check out Uploadify http://www.uploadify.com/
Which (I think) is a fork of swfupload with simpler usage (read:
jQuery goodness)

Things to watch out for:
1. If your uploader is behind a session-based login area, flash
doesn't play nice with sessions, so it will log you out by eating your
session. You can get past this by either using cookies as someone
mentioned or passing your session id in the upload params and watching
for that param/restarting the session in app_controller

2. I also had to turn security in core.php down to medium

A friend of mine and myself are working on this little jewel which
we've incorporated into a few recent cake projects for both uploading/
cropping/storing images as well as just uploading/storing general
files.

http://trentrichardson.com/2009/07/05/uberuploadcropper-cropping-gone-wild/





On Aug 6, 6:04 am, Pascal Messana  wrote:
> Hi,
>
> I made it work, what do you want to do exactly ?
>
> There are problems with sessions, I had to use cookies (of course I
> made many security controls).
>
> On 5 août, 22:11, Robert  wrote:
>
>
>
> > I've been trying to integrate SWFUpload 2.0.2 with my CakePHP 1.2
> > application, and have been stuck for a few days now...after endless
> > searching, i've only been able to find solutions such 
> > ashttp://bakery.cakephp.org/articles/view/swfupload-and-multipurpose-up...,
> > which is for cake 1.1, and swfupload 1.0. Has anyone been able to
> > integrate the new swfupload with a cake 1.2 application? Any help in
> > the right direction would be much appreciated.
--~--~-~--~~~---~--~~
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: Hosting

2008-10-25 Thread tracyfloyd

I recently got into a Liquid Web VPS (www.liquidweb.com) and it has
been great for me. Great support as well. I have a TextDrive account
and second the comment on those guys being great, They are smart folks
who really know their stuff.

Let us know what you decide and how it goes...

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Release: CakePHP RC3 - The RC of Triumph!

2008-10-03 Thread tracyfloyd

Fantastic! You guys rule!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: 500 errors with Dreamhost?

2008-02-14 Thread tracyfloyd

Is your site working locally?

I have several CakePHP sites running on DreamHost... none of them have
any special .htaccess changes. There have been a few times that I had
this 500 error issue and had to just delete all the files on the
server and reupload the whole site and it seemed to fix the issue...
it was as if something got jacked during upload... I chalked it up to
my FTP app doing something weird or not completely writing a file.





On Feb 13, 3:10 pm, "Siebren Bakker" <[EMAIL PROTECTED]> wrote:
> I'm running a CakePHP website using Dreamhost, hosted @
> beta.aevumdecessus.com.
>
> the webroot for that is pointing to /home/**/beta/app/weboot.
> I just uploaded the files to the beta directory, changed the webroot folder,
> and it worked perfectly fine for me, still does actually. Never had to edit
> any of the htaccess files, just the cake config ones. I'd try to get ahold
> of dreamhost support on this one. I'm hosted on the "Cheezit" server
>
> On Feb 13, 2008 2:06 PM, Action <[EMAIL PROTECTED]> wrote:
>
>
>
> > For those of you who use CakePHP on Dreamhost with PHP 5.2.2 enabled,
> > did you have to modify the default htaccess files that come with Cake
> > for it to work?
>
> > I have my domain pointing to /home/yoursusername/yourdomain.com/app/
> > webroot/ in the web panel.
>
> --
> In the name of Life, Liberty, and the pursuit of my sanity.
> Siebren Bakker(Aevum Decessus)
> -BEGIN GEEK CODE BLOCK-
> Version: 3.12
> GCS d- s+: a20 C UL++ P L++
> !E W++ N(-) o? K? w(+) O? M-- V?
> PS+ PE Y- PGP- t+ 5? X- R tv--
> b++ Di D+ G+ e h! r y-
> --END GEEK CODE BLOCK--
--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: New to CakePHP and PHP

2007-10-14 Thread tracyfloyd

Checkout any of the Larry Ullman books on PHP... The Visual Quickstart
Guides are great. That's where I got my start with PHP and he does a
great job of laying everything out in a way thats understandable
(IMO).



On Oct 13, 7:08 pm, afx <[EMAIL PROTECTED]> wrote:
> I'm in the same boat as you, except I've gotten off to a great start:
>
> http://www.davidgoldingdesign.com/newbie-cakephp.pdf
>
> read that, great getting started guide from getting your server up to
> creating mysql tables.
>
> also:
>
> http://www.sitepoint.com/article/application-development-cakephp
>
> is great starter tutorial
>
> On Oct 13, 5:21 am, Takumi <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> > CakePHP looks like a great framework to get started in, I tried some
> > of the tutorials on the site and really think I'd like developing some
> > apps using Cake... But I don't know where to start to learn PHP, and I
> > have no idea how  to create the MySQL tables in the right way.
> > Help is much appreciated :)
> > Thanks,
> > Takumi


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Checkboxes instead of multiple select

2007-10-08 Thread tracyfloyd

stefanb:
I recently had a similar project and ended up doing this in my view
and it seems to be working great so far... obviously you'll need to
change your var names accordingly:

Categories:


 value=""> - 









On Oct 7, 2:55 pm, dardosordi <[EMAIL PROTECTED]> wrote:
> Also there are two great articles in the bakery that will help you:
>
> http://bakery.cakephp.org/articles/view/create-multiple-checkboxes-in...
>
> http://bakery.cakephp.org/articles/view/alternative-methods-for-worki...
>
> On Oct 7, 7:00 am, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
>
> > hi Stefan,
>
> > > Is it possible to use checkboxes instead of a multiple select to
> > > represent data in a many-to-many relation?
>
> > I wrote a helper ages ago that does just that, check 
> > outhttp://cakeforge.org/snippet/detail.php?type=snippet&id=190
>
> > hth
>
> > jon
>
> > --
>
> > jon bennett
> > w:http://www.jben.net/
> > iChat (AIM): jbendotnet Skype: jon-bennett


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CakePHP Live Broadcast: Be There Or Be Square

2007-09-19 Thread tracyfloyd

Awesome! I was thinking just the other day how great a CakePHP podcast
would be... heading over to subscribe now!





On Sep 19, 1:51 am, John David Anderson <[EMAIL PROTECTED]>
wrote:
> On Sep 18, 2007, at 8:51 PM, rtconner wrote:
>
>
>
> > Can I be there AND be a square?
>
> No. By being there, you are (by defintion) cool.
>
> -- John


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Magento

2007-09-17 Thread tracyfloyd

Oh well... maybe someone will port it to cake... or write something
better ;)
For some reason I just can't get into the Zend Framework... I've been
smitten by cakePHP. But I have to admit, this is nice enough to make
me want to dig in and give it a second look.




On Sep 17, 9:52 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 9/18/07, tracyfloyd <[EMAIL PROTECTED]> wrote:
>
> > inside it. My question is... could something like this be dropped into
> > an existing cakePHP app as a vendor? Would that work?
>
> We had a look at the code yesterday - pretty slick I would say and No
> it cannot be dropped into existing cakePHP vendor - you can try
> dropping it into webroot but I wouldn't suggest that either.
>
> T
>
> --
> =
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Magento

2007-09-17 Thread tracyfloyd

So, I ran across this today: http://www.magentocommerce.com/

It looks amazing BUT its written in the Zend Framework... which I have
not used and would rather not get into based on a few quick peeks
inside it. My question is... could something like this be dropped into
an existing cakePHP app as a vendor? Would that work?


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Search Engine for a CakePHP app

2007-05-01 Thread tracyfloyd

Well, once you get the inner workings figured out here's an
interesting approach from a UI standpoint:
http://link.toolbot.com/dbachrach.com/76372



On May 1, 12:42 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 5/1/07, John David Anderson (_psychic_) <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Apr 30, 2007, at 10:21 PM, Mariano Iglesias wrote:
>
> > Zend Framework? HERESY!
> > They will be assimilated.
>
> Oh! they will say that "It is by design" ;)
>
> Cheers
> Tarique
>
> --
> =
> PHP for E-Biz:http://sanisoft.com
> Cheesecake-Photoblog needs you!:http://cheesecake-photoblog.org
> =


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Thank You for CakePHP

2007-03-18 Thread tracyfloyd

Ditto.
The Cake team is creating some amazing software here.




On Mar 18, 9:49 am, "gerbenzomp" <[EMAIL PROTECTED]> wrote:
> There's so much love put into the development of Cake, that anyone who
> uses it, cannot but love it! Thanks so much, Cake has been an eye-
> opener and is such a pleasure to work  with!
>
> Gerben.
>
> On 18 mrt, 04:45, "phirschybar" <[EMAIL PROTECTED]> wrote:
>
> > true that.
>
> > On Mar 17, 2:38 pm, "yolabingo" <[EMAIL PROTECTED]> wrote:
>
> > > Ditto all above.


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: What editor do you use for CakePHP?

2007-02-12 Thread tracyfloyd

+1 for TextMate and Transmit!
Drag from the TextMate project right onto the Transmit icon in the
dock with DockSend... simple and beautiful.



On Feb 12, 10:11 am, "nateklaiber" <[EMAIL PROTECTED]> wrote:
> Textmate for the editor and Transmit for the FTP client (OS X). It's a
> great combination, and very flexible with code bundles.
>
> On Feb 12, 9:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > phpeclipse
>
> > On Feb 12, 1:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > Top stuff.  Thanks to you and nate
>
> > > On Feb 12, 11:43 pm, "wedge" <[EMAIL PROTECTED]> wrote:
>
> > > > I'm usingDreamweaver8 too.
>
> > > > And there's a way to make .thtmlfiles editable like .php files. Found
> > > > the text here, forgot to note the author.
>
> > > > -
>
> > > > Just a couple of tips for developers who prefer to develop their page
> > > > layouts inDreamweaveror work with graphics people who useDreamweaver. 
> > > > These are for DW 8.
>
> > > > 1. Makethtmlfiles editable in the design view
>
> > > > - Find the Extensions.txt file inDreamweaver's"Configuration" folder
> > > > and edit the line
>
> > > > PHP,PHP3,PHP4,PHP5,TPL:PHP Files
>
> > > > to read
>
> > > > PHP,PHP3,PHP4,PHP5,TPL,THTML:PHP Files
>
> > > > - Find the MMDocumentTypes.xml file in the "DocumentTypes" (this is in
> > > > the "Configuration" folder) and change the line
>
> > > >  > > > internaltype="Dynamic" winfileextension="php,php3,php4,php5"
> > > > macfileextension="php,php3,php4,php5" file="Default.php"
> > > > writebyteordermark="false">
>
> > > > to read
>
> > > >  > > > internaltype="Dynamic" winfileextension="php,php3,php4,php5,thtml"
> > > > macfileextension="php,php3,php4,php5,thtml" file="Default.php"
> > > > writebyteordermark="false">
>
> > > > 2.  Use the "Design Time Style Sheet" to allow you to viewthtmlfiles
> > > > with the appropriate css style applied.
>
> > > > - Open up thethtmlfile you wish to edit then from the main menu
> > > > select Text > CSS Styles > Design-time . Select the "+" above  the
> > > > "Show only at design time" box and select the cake.default.css file
> > > > from the "webroot/css" folder.
>
> > > > --


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Changing layout based on page

2007-01-16 Thread tracyfloyd


I have several static pages that are served up using the pages
controller and I'd like to have different layouts... say a different
layout for the home.thtml and about.thtml. I'm guessing I need to add
some logic on the pages controller but am not sure how to go about
this... any ideas... or is there a better way?


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Getting my validation errors to do like I want

2007-01-15 Thread tracyfloyd


Perfect!
I'm using tagIsInvalid in my view like this:
tagIsInvalid('Contact','firstname')) { echo
'style="color:#99;"'; } ?> >First Name:

So that the text color of the labels of any invalid fields is returned
red.

Thanks mikee


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Getting my validation errors to do like I want

2007-01-12 Thread tracyfloyd

I'd like to be able to customize how a form's validation errors are
displayed... i.e. instead of using the tagErrorMsg and having it spit
out a div with a class applied to it for each error message, I'd like
to just make the field label text red and add something like: "Please
correct the errors below...". I can't figure out how to access the
validationErrors in my view, though. I can see them when I run a
print_r on $this in my controller (but of course they aren't in the
viewVars). Any ideas?


--~--~-~--~~~---~--~~
 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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Vocabulary question : What's the name of a "MVC object"

2006-12-27 Thread tracyfloyd


Or in cakePHP speak you could just call it a "slice"!


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CakePHP blogs

2006-12-21 Thread tracyfloyd


Mariano,
those Google Reader links seem truncated... maybe repost after running
through http://tinyurl.com/ ?


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



On the beauty of cakePHP deployment...

2006-12-08 Thread tracyfloyd

Just wanted to drop a note to the group and cakePHP team.

I have been reading up on Ruby on Rails and have been really enticed by
the "programming pain" it promised to lessen, but I have not had the
time or energy to learn Ruby enough to be comfortable using the
framework.

Along comes cakePHP and I was stoked. I jumped right in, have been able
to IMMEDIATELY leverage my PHP experience and enjoy the MVC framework.
I just deployed my first cakePHP site and it was so much fun to develop
in. When I was done developing it locally, I literally uploaded it to
the host and was done.

Then I started wondering about Ruby on Rails AGAIN (it's hard to ignore
with all the smart people working on it and all the hype out there). So
I decided to dive in and just develop my next project with it and
"learn as I go". After getting a rough version of the site done and
working locally I tried to deploy it on my DreamHost account and have
spent TWO DAYS trying to get it to even load up the Rails app. I get
into reading about others having similar issues and how you have to do
FastCGI tweaks here and use special domain control settings there, all
the while getting plagued by 500 errors and vague Rails error messages.


I think Ruby is a great language. I think Rails is a great framework.
But for me, the pain of deployment onto client shared server accounts
is a deal breaker. So, its back to cakePHP as my framework of choice.

Thanks cakePHP team. This is a great product you are putting out. Now,
where's that donate button


--~--~-~--~~~---~--~~
 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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Getting related records in a view

2006-10-16 Thread tracyfloyd

First CakePHP project. So far, I'm loving it. But I have hit a
roadblock...

I have two tables: "communities" and "house_plans"
A community can have many house plans, so I have a community_id field
set in my house_plans table.

in my plan view, I'd like to show that plans details, but also include
a list of all the other plans that are in the same community as the one
you're viewing... i.e. say you were at this page, viewing this
house_plan:

www.site.com/plans/view/5

And in the house_plans table, record ids 8, 9, and 10 also have the
same community_id as record 5 above.

How do I get these related plans to show up in my view?

Thanks!


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---