A CMS based on Yii? [closed] - php

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
i've been with Yii for a few months and before I use main CodeIgniter, SilverStripe in my projects. Does anyone know a good Yii based CMS such as SilverStripe based on Sapphire or EE based on CodeIgniter ?
My experience is working with Yii is much more easier and straightforward assuming you are good OOP coder but Yii is still young and there are not lot of samples that I can put together quickly for a real prodcution project.
A couple of YII based CMS I spotted at do not look really promising or maybe at a very early stage such as dotPlant, Web3CMS.

The developer of http://www.phundament.com/ is active over in the Yii forums.
Also, a new yii CMS has popped up that seems to be quite actively developed, and has a good feature set:
https://github.com/charlesportwoodii/CiiMS

I agree with thaddeusmt. Yii per se is very transparent and can easily be used for complex tasks. Learning a yii-cms without good docs seems like a waste of time. You could be mastering yii itself during that time.
I mean, what's the point of learning a cms from scratch on top of learning a framework from scratch...

We have developed a new open source Yii CMS - GXC-CMS. You can check the demo at : http://www.gxccms.com! Hope you like it

Would it not make sense to build the extensions that would go into making a cms so that you can easily build a cms that works the way you need it. Surely this would be the reason to use Yii rather than learning how to extend Drupal or Joomla to do what you need.

I just found this new CMS based on Yii: DotPlant; I haven't tested it yet.
Edit: Here a two other yii based CMSs that I found in the extensions section of the official site:
yaycms
ovencms

web3cms is another promising CMS based on Yii:
http://code.google.com/p/web3cms/
I don't think that there are any really mature CMS's built on Yii yet. Flexica looks like the best, but it's still not on par with Drupal or WordPress. Yii is best for developing a new application from scratch.

FlexicaCMS is worht to look at and keep an eye on it still it become mature and ready for production.
I don't agree the idea to develop an application from scratch if you have things you can use, if so then what are Joomla and Drupal and Wordpress for ?
If you look for a Yii cms and you have time to dig the code then you can spend that time with Flexica. I can learn a couple of things from it including the user management with RBAC permission and the multilanguage implementation using Yii behavior. This is the best multilanguage implementation i have seen in fact. I a large web application which need custom parameters and parameter per module then their parameter system is very cool.
The only problem right now to me is Flexica author has not provided enough document so you should be experienced with Yii to use it. On the other hand, you can use it to learn Yii as the installation has a good company website demo.

We released a CMS module for Yii a few days ago. It's very simple but you should check it out, it might cover you needs.
http://www.yiiframework.com/extension/cms

Related

Choose Zend OR Symfony? And why? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I know this has been done many times before (some posts are really old so would be nice to get feedback based on current state of play), but I would like people's advice on which framework to use for a new application that we are about to start developing.Though we have set-up everything according to ZEND but now client's investor need to know why we choose Zend.
It was selected on the bases, out of 5 developers 2 are familiar with Zend. Now client want a detailed explanation why we didn't choose Symfony over Zend. Our reason is not enough to support our selection ;) so help me to choose which framework has what advantages over other so that we can present him solid reasons(for zend), and if symfony has more +ves then why we choose it(symfony) NOW. We can change our framework now.
I guess the correct answer is 'depends on what you're application and you're own requirements/preferences' so here is a brief description of the application and some of our own requirements:
The Application:
A financial transaction system extracting live transactions data done over thousands/millions of POS world-wide.
Few important things for project:
Database is already provided to us & it is an ORACLE database.
Oracle database has more than 86 tables. Some of the tables have more than 60000 rows of data at present & some of them have 79 columns too.
Our Requirements:
good support for jQuery
allow easy output of different types of output (HTML, XML, JSON)
easy UI development using in-bulit functions/methods.
ACL
fairly fast development (as always, schedule is tight)
nice clean business logic layer with freedom to architect the solution as we like.
a framework that helps you to get stuff done quickly but doesn't restrict you too much.
a good platform for doing other projects.
Any feedback from people who have used these frameworks (specially those who have used both) would be much appreciated.
Zend is not compulsion, but if changed to symfony, we need support for that. So support your answers with reasons, links.
Thank you.
Why Zend
First of all, I had my good experience over working with Zend Framework. It is most stable framework over all the php RAD Frameworks. Zend provides you jQuery builtin Class as Helper that will make it easy for you to make jQuery usage most easy. Even though, it provides the best usage with Dojo too. ZendX_jQuery class makes it easy for you to make use jQuery whenever you want. And, as you know jQuery allows ajax calls by $.ajax*() so it would be perfect choice for going through client side scripting.
However, I'll focus over the zend too because you can go through writing your API for most of the common transactions all over the site. As, ZEND provides Using AjaxContext with Zend_Rest_Controller and Zend_Rest_Route classes for this purpose that holds the Ajax context.
Zend has the best cache system. Even though, it provides the perfect search indexing using lucene. It is easy and stable to make your own re-usable component in your class library. CLI makes your structure delightful so no need to make everything manually.
No problem of managing templates. Action loads its view by prefix. View doesn't bounds you to have any templating engine. However, you can go through that too.
Layouts capability makes it extremely perfect to make generic and dynamic layouts that would be based over different of the controllers based upon ACL. And by ACL, i also got that Zend_Acl provides the complete solution over implementing out the ACL services. ACL is ofcourse the mandatory thing in your application.
Zend also provides you ability of having the modular structure of your site. Just plug and play your code snippets.
Why Symfony
I never gone too much deep over the symfony. However, I experienced it before for one of my project. Overall, as comparing, zend has decent folder structure then symfony. Symfony provides you ability to your code snippets but those snippets are known as bundle here. It has some templating styles that you need to implement in your views. It didn't found any built-in core library for implementing jQuery dynamically. May be, I would be wrong here but I don't know about it yet!.
I also got the same situation when I need to compare Zend & Symfony. But, after looking over all the aspects, I decided to go through the Zend.

Model and backend interface generators for Zend Framework [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
By doing some research, one of the disadvantages often reported about Zend Framework is the amount of work required to get off the ground. For me this could be addressed if ZF had strong model and backend interface generators like Symfony does. I have been looking for those and here is what I found:
Model generators
http://code.google.com/p/zend-db-model-generator/: looks like official one, based on user feedback, the documentation seems to be awful though.
http://code.google.com/p/zend-model-generator/: seems quite advanced. updated 3 months ago.
https://github.com/inxilpro/Galahad-FE/: not updated in 2 years, looks dead.
https://github.com/codeinchaos/zend-model-generator/blob/master/generate.php: single php file, could be interesting to use as basis and extend as needed.
Backend interfaces
As usual one can use database administration tools
http://www.phpmyadmin.net: quite complete with plenty of new features since 3.5. Hard to extend.
http://www.adminer.org/: single-file backend interface. Quite complete. The use of plugins seems to make extending functionality easy.
Backend interface generators
http://zfdatagrid.com/grid/default/site/crud which comes from what looks like a very active ZF related project: http://code.google.com/p/zfdatagrid/.
http://www.koala-framework.org/: I've recently come across this framework which allows you to create "desktop-like" applications around Zend, which one could use to create a backend interface.
Setting up the interface seems to be quite easy, for instance here is how you would display a form to edit contacts on the same page as you would edit members:
<?php
class MemberContacts extends Kwf_Model_Db
{
protected $_table = 'member_contacts';
protected $_referenceMap = array(
'Member' => array(
'column' => 'member_id',
'refModelClass' => 'Members',
)
);
}
?>
A demo of Koala frameworks is available. To be honest it looks quite impressive.
Q: Which model generators and backend interface (generators) do you use for Zend and why?
I do not use any kind of generator, prepared backoffice or so called scaffolding.
Why I don't use them in a general way ?
These tools introduce a strong dependencies on the way the generated UI is structured, you do not have anymore the power to design it the exact way you want.
They are quite hard to reuse unless you know them very well, they introduce a lot of magic, for example when I create a backoffice using Django I've to set five parameters and I've a backoffice running. Understanding how it works do really need a lot of knowledge on the inner mechanisms of the tool, so updating it can be a real pain.
To my mind there's a strong difference between providing almost complete backoffice application like Symfony, Rails and Django do, and what Zend Framework do: constraining to general framework and libraries.
There is a deliberate choice between something working out of the box and something flexible. I think they tend to aim different needs.
I tend to prefer the Zend Framework approach since I'm not satisfied (nor experienced I've to admit it) with what others offer as an "almost done" UI.
Why I won't ever use them in Zend Framework ?
If Zend Framework doesn't embend such tools, I won't plug what others have tried to build upon it since nothing can guaranty that there won't be any regression on it (and upgrading can be a really good thing since Zend always integrate more and more external services). The power of Zend Framework is its flexibility, by overlapping tools over it, you're going against the philosophy of the product.
It might meet your expectation on really small project, but for bigger one I do really suggest you to build your UI according to your own needs, the backoffice will only take only you one or two weeks more.

How do I increase the height of drag and drop area in wdCalendar(JQuery Event Calendar Plugin) [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Anybody familiar with wdCalendar ,a google look a like event calendar plugin in jquery .
I got this from http://www.web-delicious.com/jquery-plugins/.
I need to increase the drag and drop area of wdcaledar. I installed fresh copy from there site .it works well .But When I installed it to my site ,mine have a header portion ,that takes 200px height ,then the draggabble area misplaced .So I cannot drag events to bottom area. I've checked so many times in the code ,but couldn't find a good solution . Any explanation? Thanks!
My advice, if you don't know java, don't start doing web application development. Web application development goes as far as designing the system or architecting your application.
As for web application framework, use the currently available Java EE web application framework, JSF. Again, there are tons of tutorials on the web on how to use JSF (even good blog by an avid SO geek, BalusC). This assumes you already have knowledge of Enterprise Application, such as Servlet.
You will have to start from the beginning, like all of us did: understand Servlet and Filters, as every web application framework, including REST frameworks are built on top of it. You will need to.
Start writing a simple servlet web application and once you understand Servlet, move to MVC type framework, such as Struts, or jump to Component-based MVC such as JSF.
I'd recommend Oracle's official tutorial: http://docs.oracle.com/javaee/6/tutorial/doc/bnadp.html
I know you asked for "freely available" but I'm going to highly recommend the java certification as a way to get a develop a good all round understanding of the core language. The certification book is excellent, and the certification itself will provide you with a learning goal, even if you are not really that interested in the piece of paper(which I wasn't).
I feel that it's very important to have an understanding of the core before trying to embark on the many other facets provided by the Java architecture.
I think yo have to first start with core java then move to advance. you may refer headfirst of java.
A good introductory book is
"Head First Servlets & JSP - passing the sun certified web component developer exam." from O'Rielly
It starts right from the basics, I wish I'd known about it when I started out. Although there is a lot of stuff on the web, a lot of it is basic to the point of being dangerous and you cna end up structuring your applications very poorly.
I'd also recommend getting some Jave experience first, just try writing a few that output text to the console.

PHP framework for Social Networking [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm an intermediate PHP developer with no experience building a large scale web application in this language (though I have in others, mainly Rails)...say I wanted to build a social networking site using PHP and MYSQL (preferably) with all the web 2.0 trimmings.
Where should I start? What sort of frameworks should I be looking at? Any up to date modern books that would outline something like this? Really anything for building a modern web app in PHP.
Ryan, there is a php framework called Elgg which is a php framework directed at social networking based applications.
A whole list of them:
Top 40 Free Open Source Social Networking Software
I suggest you have a look at the Yii Framework. It is very well-designed and was written with performance in mind. They've heavily focused on optimising their code for use in combination with an opcode cache like APC - no other framework has shown the same level of performance improvement when used with APC. Outside of performance, the framework also offers lots of built-in support for security (secure sessions with HMAC, SQL injection prevention, XSS prevention, etc.), forms, user input validation, caching, authentication/access control, and JQuery integration.
If you're an intermediate PHP programmer who is not experienced/confident enough to build your own framework, then Yii is a really good place to start as the code is very elegant and imho the programmer made some great design choices while writing the framework - simply reading through the Yii code makes for a great way to learn about how to design/write good PHP code.
Just my two cents...
Wikipedia has a comparison of various social network frameworks / software:
http://en.wikipedia.org/wiki/Comparison_of_social_networking_software
Several of them use PHP / MySQL.
I also saw this book on creating a social network in PHP:
Create a powerful and dynamic Social Networking website in PHP
What sort of frameworks should I be looking at?
Try a modern framework like Kohana or maybe something more engineered-OO like Zend Framework.
You also might want to consider a simple procedural framework instead of an OO framework. PHP does very, very well working at low levels.
Avoid Cake. It tries to be Rails-like, but not only do Rails idioms translate very poorly into PHP, Cake is stuck in the design era of PHP4.
People Pods may be what you're looking for. It's a PHP framework built with social networking in mind.
I'm actually doing this right now currently with Zend Framework, and it is working out fantastically well.. Zend is seriously powerful and scalable.
I've always hated doing all the initial work of creating login accounts and hashing passwords and putting stuff in place to manage SESSIONS, so moving forward with new work I plan on checking out an early revision of this project and simply forking it into whatever other site that requires logins.
I think the place to start is to really understand the fundamentals of HTTP and the tools PHP gives you for dealing with its stateless nature.
Beyond that, I would look into templating. Perhaps Smarty?
Finally, all of the normal MVC design patterns stuff apply equally to PHP, and there are lots of implementations if you'd like to use something off the shelf. You might want to check out Cake, if you need a framework.

Where to learn Yii? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have been trying to learn Yii without luck. I find Zend Framework, Kohana, Code Igniter among other frameworks much easier to learn than Yii. The documentation also su**s. Can you post links to easy-to-understand and well written tutorials/articles? The official documentation is filled with grammar errors and seems to be rushed...
I've started here http://blog.dmcinsights.com/series/learning-the-yii-framework/
Then I did the online blog tutorial
A very good place to search/ask for info is the forum. The community is nice and will always answer you very fast.
Yes, the blog tutorial is filled with typos and errors of some sort. But IMHO, this is were you develop more skills. You have to actually search. Or if you're lazy, the comments after the tutorial tell you what to do. But usually, after the half of the tutorial, you'll begin to understand why it is not working and how to solve it. This is, from my point of view, the best way to learn.
Don't give up, Yii is very nice and powerful. Yii is the faster fully-loaded framework after symfony 2.
Try this link:
http://www.yiiframework.com/forum/index.php?/topic/6129-total-fresher-in-php-frameworks-and-yii-i-dont-understand-tutorials/
It's my thread and in the first post there is attached PDF. On Xmas 2009 I was beginning with Yii. I had never user PHP framework before so I was lost in terms like Controller, using views, integrated ajax etc.. So (when I understood it) I created a small manual that could help beginners. Have a look at it and let me know if it was helpful. It's not finished yet, it wants to reformulate something, but main concept of YII and MVC architecture is described..
Also, don't forget the "Definitive Guide to Yii". I found that after I started developing my app (basing all of the code on the blog tutorial), most of the things I got stuck on were further explained in the Guide.
Also, don't forget to contribute your questions/suggestions to the community - it will only become more robust with more people banging away at it...
http://www.yiiframework.com/doc/guide/
an ongoing, and up-to-date wiki article on this subject can be found here:
http://www.yiiframework.com/wiki/268/how-to-learn-yii
As mentioned above, reading through the "Definitive Guide to Yii" is the best place to start as it covers all of Yii's main (and numerous) features. The "Blog Tutorial" is helpful too.
Yii also has a nice set of easily searchable and cross-referenced Class Reference (API) Docs here:
http://www.yiiframework.com/doc/api/
The Yii forum is very active too, with the developer himself (qiang) answering lots of questions. Yii is very actively developed so when you report bugs in Google Code you often get fast responses there as well.
Finally, included in the Yii source when you check it out of SVN is a "demos" folder which has a working Blog demo, a Hello World, and a few other demo apps.
Yes, I would add that both the definitive guide and the api manual can be downloaded in pdf and chm (recommended) format.
You can buy the Agile with Yii 1.1 and PHP5 from Packt publisher. I'm actually reading it right now. There's quite a bit of small errors in the book, you could totally tell they rushed it, probably because it's the first Yii book.
https://www.packtpub.com/yii-1-1-and-php5-for-agile-web-application-development/book?tag=ns/agile-yii-abr1/0810&utm_source=ns_agile_yii_abr1_0810&utm_medium=content&utm_campaign=naheed
There's the link, I bought mine from Amazon.
--
SQL schema in the book have typos and type errors. I just asked about it on stackoverflow too.
I started reading Larry Ullman tutorial translation (into Italian) here: http://www.programmandofacile.it/impariamo-yii-framework/
Then I went on reading the Yii documentation.
And finally I started looking at the Yii forum.

Categories