Re: News Archive/Events Archive

2006-08-27 Thread Jay Tillery
Thanks for the reply.
On 8/27/06, John Zimmerman [gmail] <[EMAIL PROTECTED]> wrote:

I am replying basically so this does not go unanswered.  Your question really covers too much to give a reply in a news group.Your desired functionality is not too hard to conceptualize once you get familiar with the Cake basics. 
You should be able to start with the blog tutorial in the manual (http://manual.cakephp.org).
The structure of your code for events and news should be very similar.For additional functionality like pagination (groups of 10 items) someone has developed a pagination component to be used as an add on to applications that will work well.
Searching will also not be difficult, but will be dependent on your data.  There are many ways to do it, but using a fulltext index in your database and a custom SQL query is a simple way to do it. The cake conventions / MVC may take a little time to figure out, but once you do all of these things will become very clear.
After you get the conventions checkout some of the projects at http://cakeforge.org.  You can download some of the source code there and possibly adapt that code for your purposes.  If you come up with something unique you can even give back to the community by starting your own project on CakeForge. 


On 8/26/06, codigo <[EMAIL PROTECTED]
> wrote: 
Hello,I am new to cake, but I am very interested in these two topics. How doI maintain an events and news list so both can be archived? For
example, I would like to show ten news items at a time. In order of newest to oldest. I know I can just limit 10 ordered by id, but I wouldlike for the user to b able o click into all news items or even do a
search.Events would be the same, but divided into groups. Like: Adult EventsJunior EventsKids EventsAll related to surfing. Please let me know if anyone has samolese theywould like to share.
Thanks,Din
--~--~-~--~~~---~--~~
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  -~--~~~~--~~--~--~---


Re: News Archive/Events Archive

2006-08-26 Thread John Zimmerman [gmail]
I am replying basically so this does not go unanswered.  Your question really covers too much to give a reply in a news group.Your desired functionality is not too hard to conceptualize once you get familiar with the Cake basics.
You should be able to start with the blog tutorial in the manual (http://manual.cakephp.org).The structure of your code for events and news should be very similar.
For additional functionality like pagination (groups of 10 items) someone has developed a pagination component to be used as an add on to applications that will work well.Searching will also not be difficult, but will be dependent on your data.  There are many ways to do it, but using a fulltext index in your database and a custom SQL query is a simple way to do it.
The cake conventions / MVC may take a little time to figure out, but once you do all of these things will become very clear.After you get the conventions checkout some of the projects at 
http://cakeforge.org.  You can download some of the source code there and possibly adapt that code for your purposes.  If you come up with something unique you can even give back to the community by starting your own project on CakeForge.
On 8/26/06, codigo <[EMAIL PROTECTED]> wrote:
Hello,I am new to cake, but I am very interested in these two topics. How doI maintain an events and news list so both can be archived? Forexample, I would like to show ten news items at a time. In order of
newest to oldest. I know I can just limit 10 ordered by id, but I wouldlike for the user to b able o click into all news items or even do asearch.Events would be the same, but divided into groups. Like:
Adult EventsJunior EventsKids EventsAll related to surfing. Please let me know if anyone has samolese theywould like to share.Thanks,Din
--~--~-~--~~~---~--~~
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  -~--~~~~--~~--~--~---


News Archive/Events Archive

2006-08-26 Thread codigo

Hello,

I am new to cake, but I am very interested in these two topics. How do
I maintain an events and news list so both can be archived? For
example, I would like to show ten news items at a time. In order of
newest to oldest. I know I can just limit 10 ordered by id, but I would
like for the user to b able o click into all news items or even do a
search.

Events would be the same, but divided into groups. Like:

Adult Events
Junior Events
Kids Events

All related to surfing. Please let me know if anyone has samolese they
would like to share.

Thanks,

Din


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---