Remoting plugin for cakephp 2.0 and flex - php

I have a website written in cakephp 1.2 and I'm updating it to cakephp 2.0. This website has a flex front end and I'm using CpAmf plugin for that purpose. It seems like CpAmf plugin has no support with cakephp 2.0 yet. Can anyone recommend me a good remoting plugin for cakephp 2.0 and flex?

Although I don't know of anything out there that supports Cake 2.0+, this might be a really good starting point: http://code.google.com/p/flexiblecake/
At first glance, it seems rather simple to build upon.

Related

Yii framework 2.0 version vs 1.1.14

I am going to develop website by using Yii framework. I will use netbeans to do it (and if it will be possible) with build-in Yii plugin. And here is my dilemma:
Should I use newest 2.0 version, which is demo version since yet, or use version 1.1.14, which is suported by my netbeans plugin. On official site of Yii I found quite good documentation for 2.0 version. Could you help me with some advices? Will be 1.1.14 version still suported be Yii community, could I use it without lot of painful searching for documentation or it would be better to stick with newest version?
Directly from their website: "Yii 2.0 is not ready for production use yet. It is currently under heavy development and we may introduce significant changes without prior notices. You may consider using Yii 2.0 if you just start to learn Yii or you do not have a tight project schedule."
They clearly are not encouraging using it in production in any way.
2.0 version is bet yet... because of this I suggest you to use 1.14 stable version ... in real project always better to use stable versions
there is available
Yii 1.1.15 is released (security fix) as well
The answer really depends on what the purpose of your Yii app is.
Are you building a quick demo? A throw away app? A 5 page app with no long-term maintainability needs? Go with Yii 1.1.15, it's very well documented and you will be able to work in a hurry.
Are you building a project with a minimum 3-5 year life? A web app that will see significant investment over the years? A web app that will have multiple developers involved in it? Go with Yii 2.0.
I've built large web apps with Yii 1.1.x and it works nicely. But for any significant new project, Yii 2.0 is a better fit. PHP as a language has progressed significantly since Yii 1.1 was designed and it shows.
In addition, development on Yii 1.1 is slowing down (the core team is more focused on Yii 2.0). I've for bug reports and pull requests for Yii 1.1 that have been outstanding for months. Not a slam on the core team (Yii 2.0 is where the future is), but Yii 1.1 is quickly going into maintenance mode.

Templating systems for Symfony 1.4

I've recently started to learn symfony framework and I wonder what are the best choices for a templating system?
Some suggest to just use PHP but I don't really like that (btw, see this interesting article).
Before I started with symfony, I used - and liked - Smarty.
Are there better options for symfony?
Try Twig (developed by Sensio/Fabien Potencier)... there is a plugin for symfony 1.4, and it will be the default templating bundle in Symfony2
If you liked Smarty and want to use it in Symfony2 this is possible by adding SmartyBundle. Check out the documentation for installation and usage details.

Migrating custom coded/developed php project to CAKE php framework

My client wants to Migrating their custom developed php project to cake php framework. But, as of now i have only a bit of knowledge in CAKE. can anyone please let me know where do i get started CAKE php. i have already installed CAKE in my system
Where do you get started? Probably on the CakePHP website?
Seriously, watch some screencasts, download some example apps and mess around with them.
CakePHP has a sweet steep learning curve. I recommend to go with the new 1.3 version.
It is easy to start with the CakePHP Book and the API documentation. When in doubt, just look into the source code, it's all just PHP! Google should be also a good friend of yours. However CakePHP is "just" a programming framework, you must know PHP, ORM, MVC and similar concepts in advance.

RESTful WebServices with Kohana 3 PHP

Is it possible to make restful services with kohana 3 , i reviewed the source and found an abstract class Kohana_Controller_REST, how to use it ? If someone can post a snippet with routing as Example code, it will be very appreciated.
Also, the lack of documentation on KO3 is making me crazy, if someone knows a well documented, fast and proven PHP framework to use with an 100% javascript Frontend, just let me know, but i would like to stick with Kohana because of the powerful ORM lib.
Thanks.
This looks like the most promising module for 3.2 (current stable)
https://github.com/morgan/kohana-restify
I have been very happy using CodeIgniter REST Server, which is an extension to the CodeIgniter framework. One of the nice things about CI is the excellent documentation when compared to Kohana. Then again, Kohana is an "improved" fork of CI; for example, CI does not have an out-of-the-box ORM library.

php CMS system built with a framework - php framework AND php CMS

I have to develop a CMS for a friend of mine, nothing commercial...
I'd like to take this opportunity to learn a php framework, to see if it would be suitable for future (and more complex) developments, or at least to steal some nice ideas...
SO I'd like to easily implement a content management system and at the same time have a look at a modern php framework (one of the rails inspired ones, or at least implementing MVC, which I think covers them all...)
I've heard of http://www.digitaluscms.com/, built with zend framework, and http://radiantcms.org/, but that is ruby on rails (I'd prefer php for ease of deployment and hosting...)
If you want a CMS built with a real Framework, I've heard (just today, actually) of Diem, which is built upon symfony (and uses some components of Zend Framework).
Maybe Sympal, also based on symfony, could interest you too.
If you want to learn, and work with symfony, one of those two might be the perfect match for you.
Still, as those two are not as popular as Drupal (or Joomla, or whatever other well-known CMS you can think about), I would probably not use them for any "real" site -- at least, not before studying them for a while.
For a framework, I would recommend Code Igniter wholeheartedly. It's MVC based, super-lightweight and it reminds you of Rails a lot. You can check out a screencast of a hello world application here: http://codeigniter.com/tutorials/
In regards to a CMS that could be http://expressionengine.com/, it's a popular CMS built on top of Code Igniter. I don't really like it as a CMS, but you were asking about a good platform to build on, so that would probably be a great bet.
The most common PHP frameworks are Symfony and CakePHP - I don't know CakePHP so much, but personally Symfony is too big and bloated for my taste, although very powerful.
The most common used CMSes are of course: WordPress, Joomla and Drupal. There are endless other systems available, but most of them don't really have a great platform to build on.
Good luck!
Others have mentioned various pre-built CMS applications. If you want to build your own in an existing PHP framework, check out CakePHP or symfony.
http://cakephp.org/
http://www.symfony-project.org/
But really, you should just learn Django, because it's so awesome.
A free CMS built on CodeIgniter is PyroCMS. The demo is currently down but installer is so freaking simply you could have it running in a few minutes.
Modular, multi-lang, UTF-8 throughought and pretty easy to skin.
Unlike other CMS' I have seen built on frameworks, PyroCMS doesn't touch the core framework at all, which means future upgrades of CodeIgniter will be easy.
you should take a look at silverstripe - besides the fact hat you really should read about what a framework nowadays can deliver, so some basic knowledge about Rails and Django is absolutely essential to put yourself in a position of beeing able to decide yourself what is good for you and what is not.
One most important thing ignored is RESTful-ness - many CMS or Frameworks still not support it or at least do it very complicated. Yuo need to read about REST to understand, why you want a framework or / and CMS that suppirts REST.
Talking about Joomla here is, of course, a joke.
Use Joomla. It probably won't teach you much but you will get a very nice system. Professional level even. Joomla has a MVC framework but most of what you do will be configuration. But really who wants to do a cms any more anyway? So many of them out there.
All kidding aside, Joomla is written in php, scales nicely and has a nice admin interface for the client/end user. It is also used all over the place.
If you really want to learn a usable framework try to write the cms in zend or codeigniter. those are beautiful frameworks.
If you really want to experiment a popular PHP framework while developing a simple CMS, look for a real CMF.
The only one I know at this time is Symfony2 CMF. It's a set of Symfony bundles providing popular CMS features like the Node concept, blocks, menus, dynamic routing (for routing to newly created nodes), etc.
Using a CMF instead of a CMS prevents you to configure your application only using a big administrative back-end and make you to understand the framework behaviors. As a consequence, you will be able to use the framework (Symfony in my example) even for a non CMS related project !
Using a CMS like Wordpress or Drupal (which is built on top of Symfony) will hide you the framework.
P.S: Actually, Symfony CMF is only compatible with Symfony 2. But beta versions of the bundles are already available for Symfony 3. Anyway, there is a LTS version of Symfony 2 whose bug fixes support ends in 2018 and security support in 2019 !

Categories