On my previous “developing cakephp multilingual website” article I as advising you to do a management for languages db table for site administrator, It seems a lot of readers do not understand what will be the management I am asking to write. Sorry for that, Now I am attaching a zip file to show what to do with “do a management for languages db table for site administrator”, It has 2 screenshot, 1 controller, 1 model of language table and view files for a sample.
There are a lot of extra codes on view files which is required for my projects, You just advised to follow the steps or structures.
Merry Christmas to all
I know how to code a website using wordpress, joomla, phpfox, dzoic handshakes, oscommerce, zencart, creloaded, magento and also some other cms. Hopefully very soon I am going to add another one dropncake. May be you are ready to ask what it is? Just wait for a few days, I will let you know what is dropncake. For a brief definition up to now, I can say, “dropncake is a cakephp php framework based Content Management System, which will be released under dropncms!”
Yes, we are going to release it’s version 1.0.0 beta under dropncms very soon. At dropndot we are working hard to finish the project as soon as possible. Hopefully by December 2011 first week we can release it. So, Keep in touch for a cool and yummy cake!
If you are using cakephp framework for your web application development. Sometimes you need to create SEO friendly url slug from your article / post / page / news etc title.
If a article title is “Article title to url slug with cakephp” then your SEO friendly url slug supposed to be “article-title-to-url-slug-with-cakephp”
To create this kinds of url slug from a string you can use cakephp core utility class Inflector, The Inflector takes a string and manipulate it to handle some common words variations.
To make slug from string using Inflector you can use below written code in your controller:
$str = 'Article title to url slug with cakephp';
// Converting string into slug with separator
$str = Inflector::slug($str,'-');
$str = strtolower($str); //article-title-to-url-slug-with-cakephp
For your multiple use you can create a common method on your application controller like
Read more »
There are a couple of web application development open source php framework. For example Cakephp, Codeigniter, Zend, Symfony, Kohana, Prado etc also you can visit http://www.webdesignbooth.com/22-open-source-php-frameworks-to-shorten-your-development-time/ for others. To develop a MVC structured well organized LAMP based application which open source framework you will choose? Which one is lightweight, less time required, secured, rich community and well documented?
Recently I wrote a post on forrst.com to know what frameworks are most favorites to developers world wide. The post link is http://bit.ly/dozgrH you can take a review. It seems most of the web developers like codeigniter as standard framework. Yes it’s me also :0 But last 1 years I was using cakephp in fact for dropndot cms which are currently under development on dropndot are using cakephp also. Before moving on development based on any framework I thought Codeigniter is for small application and very easy to use and not much rich community like Cakephp. That was the only reason to use it.
Read more »