Tampilkan postingan dengan label Programming. Tampilkan semua postingan
Tampilkan postingan dengan label Programming. Tampilkan semua postingan

Future of CakePHP 3.0 Next

Posted by Bimo Hery Prabowo On Kamis, 02 Agustus 2012 0 comments

Since its creation, more than 7 years ago, CakePHP has grown with a life of its own. Its main goal has always been to empower developers with tools that are both easy to learn and use, leverage great libraries requiring low documentation and low dependencies too. We've had several big releases along these years and an ever growing community. Being one of the most popular frameworks out there and probably the first one (!) we have also gotten a lot of criticism from the developer community in general. We have, though, accepted it and learnt from our mistakes to keep building the best PHP framework there is.
CakePHP is known for having a very slow pace of adopting new stuff and it has served very well to its community. Back when we were doing version 2.0 we decided to hold on version 5.2 of PHP for multiple reasons and despite it didn't let us innovate as much as we wished to, it was an excellent choice given the general environment regarding hosting solutions and general adoption of PHP 5.3. A look back into the past reminded us that we were big innovators in PHP, bringing features to developers that few dreamt possible to do in this language. Now, it's time to look ahead in future and decide on staying in our comfort zone or take back our leading position as innovators.
So it is with great excitement that we announce we are putting our our efforts in bringing you the next major release of CakePHP. Version 3.0 will leverage the new features in PHP 5.4 and will include an important change in our models and database system. CakePHP 3.0 will not be ready less than 6 or 8 months and we reckon that, given the rise of cheap cloud hosting solutions and upcoming release of new operating system versions, there is no better time to jump on the most current stable version of PHP.

As you may already know, PHP 5.4 offers awesome features that would introduce useful new concepts and interesting solutions to old problems. Closure binding, traits, multibyte support are tools we see of great usefulness for properly implemented advanced framework features we've had in mind for a long time. Also new syntax sugar added to the language will make it more pleasant to write both small and complex applications with the framework and a always welcomed free performance increase.
We have a young but already well defined road map for what we want to accomplish in next release and you are invited to contribute and suggest what's next:

Drop support for 5.2.x and support 5.4+ only
Add proper namespaces for all classes. This will make it easier to reuse classes outside CakePHP and to use external libraries and finally no chances of collisions between your app classes and core ones.
Use traits were possible and makes sense
Improve bootstrapping process to allow more developer control and better performance
Model layer rewrite:
Models to return objects from queries
Datamapper-like paradigm
Richer query API
Support for any database type
Support for more database drivers both PDO and native
Improve Router:
Make it faster
Remove named parameters
Add support for named routes
Smarter router prefixes
Shorter url syntax
As you may imagine most of the time will be spent or rewriting the model layer, but it will also be one of the most powerful features CakePHP 3.0 will have. It's new architecture based on PHP 5.4 capabilities will offer an easier and more powerful set of tools to build web applications in no time.
If you are already as excited as we are this all this new stuff coming, you definitely should meet us on next CakeFest we'll be talking about the future of CakePHP and hacking our way through to bring you a dev release as soon as possible. Wouldn't it be lovely to attend to awesome talks, workshops and also be part of the group deciding initial architecture for next major version of the framework? Make sure you book your tickets before we run out of them!
We'e always looking for different people having a vision on software development, are you interested in helping out? There is no better time to start sending patches and become one of the core team!

READ MORE

Choice : CakePHP 1.3.x VS CakePHP 2.0

Posted by Bimo Hery Prabowo On Senin, 28 Mei 2012 0 comments
As a programmer, I use cakephp framework to build any web application such as an online store, a simple blog, enterprise information systems and online payment system. Cakephp framework is very tough to handle various requests, problems and my desire. Cakephp framework now has reached version 2.0. This is the latest version of the coding is very different from the version 1.3.xx. You could say that you should learn more when using cakephp cakephp 2.0. Cakephp 2.0 is different, this is a big change in the beneficial as well as harm.


Cakephp 1.3 is built very well, but if explored further, cakephp version 1.3 has a security hole, which makes easy to use cakephp 1.3 but vulnerable to attack. Cakephp 1.3 have a complete documentation, many communities and many plugins and scripts that support.

While cakephp 2.0 does not have complete documentation, because it has not been widely used cakephp 2.0. Many scripts and plugins that have not fully support. Applications built using cakephp 1.3 also can not be updated to version 2.0. This is the most harmful. Supposedly, the developer can update cakephp core system with ease.

conclusion cakephp
It is a framework that is reliable and suitable for any website. Problem in a slightly different version of 2.0 will be answered over the coming months. People will start using the latest version for sure when the documentation was complete.
READ MORE

Install Digg Toolkit, Solving Problems and Digg API Feature

Posted by Bimo Hery Prabowo On Selasa, 22 Mei 2012 0 comments
To build an application with Digg, you need a Digg Toolkit. Digg has released a toolkit, you can use this toolkit to build applications. Unfortunately, for the novice web developer, homemade Digg Digg toolkit is not familiar, since it was released in PEAR package form. You need to install some other package before using the toolkit Digg. For example, I had to install the package HTTP_Oaut2, only then Service_Digg2.


How to install Service_Digg2 through Cpanel
But believe me, I install these packages are very easy, you simply go into cpanel and select the menu configuration of PHP pear. Initially I had difficulty, but finally installed. noteworthy is the system that PHP path. sometimes arise because digg2.php not found error.
For example, appears an error like this:
Warning: require_once (Services/Digg2.php) [function.require-once]: failed to open stream: No such file or directory

It's just not appropriate path. The solution
ini_set ('include_path', '/ home / * yourhostaccount * / php');
require_once 'Services/Digg2.php';
Easy right? * yourhostaccount * residence is replaced with Cpanel account name.

Digg Toolkit is running normally
If the error is already completed, you can do anything with Digg, Digg Railway version 2.0 possess the following features:

comment.bury
comment.digg
comment.getInfo
comment.getRecent
comment.getReplies
comment.post

digg.getAll
digg.hasDugg
newsroom
newsroom.follow
newsroom.getInfo
newsroom.getNews
newsroom.getTopNewsrooms
newsroom.unfollow

access_token
request_token

search.search

story.digg
story.getComments
story.getDiggs
story.getInfo
story.getNewswireNews
story.getTopNews
story.getUpcomingNews
story.hide
story.undigg
story.unhide


topic.getAll
topic.getInfo

user.follow
user.getActivity
user.getComments
user.getFollowers
user.getFollowing
user.getInfo
user.getMyNews
user.getSavedStories
user.removeStory
user.saveStory
user.unfollow
READ MORE