Which PHP framework should I choose between ZendFramework or YII?
Points I need to consider:
Performance (assuming an accelerator is used)
Documentation
stability of framework
less to code.
...
I've been using Code Igniter for my PHP projects, when I start them from the beginning. It is very nice framework, saves me a lot of work and let me have low level access if I need to do something special.
Code Igniter is also faster then similar frameworks by order of magnitude. I came across Yii framework which claims to be even fast...
How do I setup Yii framework in Windows XP ??
Yii framework requires to be setup using command line, which I am not aware of, can you help ??
NTulip how kind of you to give such an awful answer.
Anyways I am getting this message
'php.exe' is not recognized as an internal or external command,
operable program or batch file.
...
I just learning yii framework and read this tutorial
about yii how to setup url
but I have no idea, suppose i have 10 controllers, should I define one by one controllers in the config file ?
is there a better way to setup url friendly like www.yoursite.com/yourController/yourAction/yourID for all controller ?
I think codeigniter did ...
I need to know how to create a back link in the action view of the Yii Framework.
I want to use CHtml::link('Back',Yii::app()->request->urlReferrer); but this somehow just does not want to work?
Quite new to this Framework.
...
In the installation instructions for Yii it is nescessary to use console and command line utility - yiic.
Well, on my shared hosting I don't have ssh access.
This is why I have following questions:
How often and for what reasons will I have to use console?
Is there a way to avoid using yiic?
May I run yiic on local server and then ju...
Yii is a nice php framework. (In my un-experienced view). I was wondering if anybody knows any good resources for it?
This is a community wiki.
Self described as a high-performance component-based PHP framework best for developing large-scale Web applications. It has a rich set of features, is purely objected orientated and has a growi...
What is the method to save and update Many to Many relationship in Yii framework?
...
I am about to begin development of a new website and have been doing research on PHP Frameworks. I'm not an advanced PHP developer, but I have been developing web sites and apps (in asp.net) for a few years now.
My website will primarily be AJAX-based (using jQuery) and making lots of calls to web services. After some research, here's ...
There is ".yii" file in the following folders:
/assets/
/images/
/protected/commands/shell/
/protected/extensions/
/protected/messages/
/protected/runtime/
/protected/views/system/
/themes/classic/views/layouts/
/themes/classic/views/site/
/themes/classic/views/system/
What is it?
...
I developed an application with different MVCs using the Yii Framework
For example
I created a crud layer for Student Contact details and Student Courses etc.
All worked perfectly since each had its own menu, and when clicked eachs own view rendered.
Now my client wants everything on one page, and is quite persistent, we are talking ...
Is it possible to instantiate a Controller class within another controller class using the Yii Framework
For example I have controller Student and and method actionShow of class student I have the following
public function actionShow()
{
$student = $this->loadStudent();
$studentContact = new Student_ContactController;...
I created module for admin specific operations. I don't want to write the same access rules for every controller, it's not pretty coding style.
...
I need to dynamically generate title and meta tags in my application. So I need to get response object (f.e. like in symfony framework) and set corresponding data in section. How can I do this in Yii?
...
I notice that Yii creates strange set of directories (names like 8523d23 or 10s89b92) in assets directory, and this even happens at runtime. For example, one of my tables got more than 10 records, pagination kicked-in and I got a new files in assets subdirectory named pager.css.
When I move my site from testing to production, should I c...
I have been tasked with supporting and maintaining several PHP/MySQL web apps (I use the term 'app' lossely) that seem to defy every known coding standard.
The PHP code contains routines, procedures, business logic, and even queries - it's all in the code. There is no object-orientated programming, not even MVC, and certainly no separ...
Hi,
I am currently using the Yii framework, and I would like to know if anyone has any clue on how to setup a SEO friendly url like www.twitter.com/ automatically in Yii? I know how to do so this manually in the config/main.php but I would like to be able to dynamically generate it. I have been able to do it in Grails as well. In Yii, wh...
We are currently looking joining an open source PHP farmework project instead of continuing to work on our own PHP MVC code. Likely candidates are Yii and Solar, because they appeal to our own coding style, have tackled issues that we feel need tackling.
I realize there are plenty of PHP frameowrk related questions on SO already. Howeve...
Hi guys!
I need to make a dropdown list using CAutoComplete. Everything is set and works fine, here is my code of the action:
<?php
public function actionSuggestCharacter() {
if(Yii::app()->request->isAjaxRequest && isset($_GET['q'])) {
$name = $_GET['q'];
$criteria = new CDbCriteria;
$c...
Hi, I'm an advanced designer, but also starting out a career in development: I'm a PHP intermediate user. I (unfortunately) learnt procedural development, and not OOP.
My current project is a multi-user game web-app and I was developing procedurally only for my Boss to insist that it has to be OOP, so I needed to start learning OOP (I b...