Re: CakePHP Newbie Questions
Hey Nick, I know your pain .. I suggest watching these videos http://www.youtube.com/playlist?list=PL20D663BEC6319E36 they will really help explain and walk you through setting up a login / logout Hopefully that helps you and get you moving on your application. Cheers On Tuesday, December 17, 2013 12:21:50 PM UTC-5, Nick Harper wrote: > > Hi, > > I have recently started to learn CakePHP after just being used to coding > from scratch. > > I have installed a couple of plugins but the issue I have is linking them > together, for example if I have a login script then how on earth do I just > show the login page for example? > > Does every Controller need to have a mysql assigned to it? > > I have been through the blog tutorial but so far it just feels really > restrictive compared to just coding from scratch but what really appeals is > the plugins / helpers but I am just struggling with basic things like > echoing the username they are logged in with when logged in etc. > > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: Looking for Help with Cakephp basics .. aka looking for a mentor
Hello Reuben, I want to thank you for that well thought reply, the answers and pointers you have given me. I really do try and find the answers through google, the cook book, youtube and irc. I just know that sometimes people can answer your question in a couple minutes that will save you hours of wasting your time. I have read through the cook book a few times already and though it does give some basic examples it lacks answering common problems. I have done the blog tutorial, expanded it with Andrew Perkins youtube tutorials to add in authorization. I have built a basic administration section and a user account section with routing (that took way too much time messing around). I have been able to create form dropdowns that get populated from other models, and I recognize the data['User']['purchased']['year'] from the examples. I have built a number of different sections like products, manufacturers, dealers, deals, users using the basic scaffolding. I do need to get into the Category Tree Structure, which I have looked into a number of examples, going to need to implement Pagination, Breadcrumbs and a proper Search tool (that works with multi-word searches). Not to mention uploading multiple images for a product with a main (or default) image set. I have been looking into using a plugin to do the image upload but that has been challenging to get one installed and working properly. The next time I post .. I will keep it to one problem and try and layout what I have done. Have a good Christmas. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Looking for Help with Cakephp basics .. aka looking for a mentor
Hello Cakephp users, I am just looking for someone that is familiar with Cakephp and can help me figure out simple processes in CakePhp. I am looking for help with things like: ~ uploading a image ~ saving a form to say products table, but saving images uploaded to a product_images table. ~ how to save $this->Form->year() .. breaks my code says its an Array. ~ implementing plugins, helpers, components, etc ~ building a category tree with products showing in each level of the category tree. I probably have a number of other questions as well. I have hunted google for tutorials, video tutorials, i have read the cookbook and tried the cake irc channel (with some success). I just realize that I am wasting hours of my time looking for solutions that could be answered in a simple email or chat. I find that there is very little out there for Cakephp 2.0 tutorials and they are looking to bring out cakephp 3. Even the Cakephp Youtube channel doesn't have simple tutorials on say creating a form and dealing with filling dropdown lists. They go into advance topics, where most new cakephp users just want to get past the basic functionality learning curve. Yes I have done the blogging tutorial and found Andrew Perkins tutorials on youtube to be excellent. I actually wish he had more. So if you or someone you know can help me, that would be greatly appreciated. I am actually getting to the point of looking at Zend Framework .. because I really don't see a vibrant CakePHP community. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: Cake 2: Very confusing docs/tutorials... Is there another foolproof source?
I have been reading the cakephp book, looking on youtube, googling any examples I can for the past 3 weeks. Feel like I am banging my head against the wall and could easily do this stuff outside the framework. The documentation is lacking real examples that beginners could actually build on. I have hacked together a front end to my test website, a front end user section and an admin section (still can't route to it properly). Should I have a separate login code for my administration section ? Should I be creating an AdminController or do I still admin functions in all my controllers (aka admin_index,admin_edit,admin_delete). How to build a category manager in the administration section ? Should I be using someone's plugin/helper from github ? They should really attempt to put together a tutorial site that shows more than the blog example. A website that has a user registration, login, profile section. Listing of products or articles and an administration section would be something very valuable to all beginners. I do see the potential benefits of cakephp but finding decent best practices (examples) on the internet is pretty bad. Considering cakephp 2.x was released 2 years ago or so? Not to mention I am already reading about cakephp 3.0 . Maybe a concentrated effort to develop 20,50, 100 best practice examples for cakephp 3.0 would be very beneficial. On Wednesday, October 30, 2013 6:45:02 AM UTC-4, euromark wrote: > > Silver Troy: Mark Story != dereuromark ;) > > Most beginners find the book sufficient - and properly explaining the > basics. > > > Am Mittwoch, 30. Oktober 2013 05:30:20 UTC+1 schrieb Silver Troy: >> >> I have to agree with the above comments about trying to find real >> examples with cakephp 2.x. >> >> The cakephp youtube channel doesn't give you any video examples on simple >> concepts. >> >> The documentation has a lot of useful information, but little examples to >> put them into action. >> >> Doing the blog tutorial example was pretty quick and easy. Adding >> authentication the Andrew perkins >> youtube videos were good. >> >> But seriously Cakephp you need to develop some real world simple >> examples. Cause its frustrating >> as a php developer to be attempting to figure out how to properly code >> inside of cakephp's framework. >> >> I read the documentation, the bakery, youtube videos, google for >> tutorials. >> >> But can I find a simple menu building example ? >> How to build an admin section with proper routing ? >> How to connection with hasOne, hasMany ? >> Building a category tree that lists products in each level with paging ? >> >> Oh I have read over Mark Story's Tree Behavior article and attempted to >> install his "Tools" plugin .. >> but trying to get a working example sigh. Should I really have to >> install someone else's plugin >> to build a category system in a website ? >> >> Quite the frustration is trying to learn this framework ... spinning my >> wheels. >> >> Yes I tried the irc channel and basically the first person to respond >> made me feel like an idiot ... not impressed >> and then basically linked a bunch of the book.cakephp.org sections .. >> which I have already read that don't give a proper working example or stop >> just short of the basic functionality. >> >> >> >> -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: Cake 2: Very confusing docs/tutorials... Is there another foolproof source?
I have to agree with the above comments about trying to find real examples with cakephp 2.x. The cakephp youtube channel doesn't give you any video examples on simple concepts. The documentation has a lot of useful information, but little examples to put them into action. Doing the blog tutorial example was pretty quick and easy. Adding authentication the Andrew perkins youtube videos were good. But seriously Cakephp you need to develop some real world simple examples. Cause its frustrating as a php developer to be attempting to figure out how to properly code inside of cakephp's framework. I read the documentation, the bakery, youtube videos, google for tutorials. But can I find a simple menu building example ? How to build an admin section with proper routing ? How to connection with hasOne, hasMany ? Building a category tree that lists products in each level with paging ? Oh I have read over Mark Story's Tree Behavior article and attempted to install his "Tools" plugin .. but trying to get a working example sigh. Should I really have to install someone else's plugin to build a category system in a website ? Quite the frustration is trying to learn this framework ... spinning my wheels. Yes I tried the irc channel and basically the first person to respond made me feel like an idiot ... not impressed and then basically linked a bunch of the book.cakephp.org sections .. which I have already read that don't give a proper working example or stop just short of the basic functionality. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: Poll: what do you hate about CakePHP?
What I hate about cakephp is the lack of basic examples in the documentation. Not even having a proper menu example, pagination example, category example, admin cms section and so on .. is very frustrating for someone new to cakephp. Building the blog tutorial is a start, you need to take it much further. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.