Tuesday, August 26, 2014

Re: CakePHP 3.0.0-beta1 released

You can expect that. We have no plans to change the current API unless we found bugs or problems that would impede a happy future for this version. The on;y directory change that you can expect is that we are moving Console/Command to just Shell

On Monday, August 25, 2014 5:17:58 AM UTC+2, Dr. Tarique Sani wrote:
Great! Now that we are beta can we presume there will be no more directory changes and no more function signature changes? In other words can we start building stuff now?

Cheers
Tarique 


On Sat, Aug 23, 2014 at 3:26 PM, José Lorenzo <jose.zap@gmail.com> wrote:

The CakePHP core team is excited to announce the first beta release of CakePHP 3.0.0. In the weeks since 3.0.0-alpha2, we've been hard at work incorporating community feedback on the new release, and completing the remaining changes that will break compatibility in a significant way.

Breaking Changes since 3.0.0-alpha2

Since the release of 3.0.0-alpha2 there have been several changes that will break compatibility with existing applications.

I18n has been re-implemented

Built on top of ext/intl and Aura/Intl the new localization subsystem offers more powerful replacement syntax, and retains a backwards compatible sprintf() based formatter. Consult the new i18n documentation for more information. The L10n class has been removed.

NumberHelper uses intl now

The Number library and NumberHelper now use intl internally for formatting currencies and values. This makes NumberHelper completely aware of the application's current locale. The addFormat() method has been removed.

Directory layout changes

More changes to the directory layout of a CakePHP application have been made:

  • src/Config is now /config .
  • src/bootstrap.php is now /config/bootstrap.php .
  • Log files are now in a top level directory by default. Having them mixed in with other actually temporary data sometimes resulted in people accidentally deleting their log files.
  • Bake templates should now be put in src/Template/Bake .

Vendor Prefixed Plugins Have Changed

Plugins that use vendor prefixes e.g: ( AcmeCorp\Users ) are no longer renamed. Instead of using Users.User , you must now use AcmeCorp/Users.User . Additionally the vendor prefix will be used as folder name in the plugins folder, so the plugin will be installed in plugins/AcmeCorp/Users folder.

Methods removed

  • Many of the infrequently used methods defined in basics.php have been removed. Functions like config() no longer exist.
  • Validation::ssn() has been removed.
  • Support for CASE statements has been added to the ORM.
  • Helper::webroot(), Helper::assetUrl(), Helper::assetTimestamp() have been moved to a UrlHelper. This allows you to easily replace the URL building features in each of your helpers. You will need to add Url to the $helpers list in your helpers.
  • App::objects() has been removed.

We hope to minimize the impact of breaking changes in future beta and release candidate releases.

New features in 3.0.0-beta1

  • Improved error pages for plugins.
  • Numerous bugs have been fixed in the ORM and across the framework.
  • Cookie paths are now set to the application's base directory by default.
  • Query objects can be json serialized now.
  • Shell::param() was added.
  • Added a new collection() global shorthand function to convert arrays to collections.
  • Many API documentation blocks and book sections have been improved.
  • Multiple optimizations for performance.

For more details on all the changes in 3.0.0, you can consult the migration guide. In closing, we'd like to thank all of the people that have helped so far with the 3.0 release. We've made great progress and without your help we wouldn't be here today.

Download a packaged release.

--
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+unsubscribe@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/d/optout.



--
=============================================================
Hire a CakePHP dev team : http://sanisoft.com
=============================================================

--
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+unsubscribe@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/d/optout.

No comments: