yii Bootstrap Twitter - which extention is the "right" extension? - yii

I want use http://twitter.github.com/bootstrap/ in my application.
I found for yii two extensions:
http://yii-booster.clevertech.biz/
http://www.cniska.net/yii-bootstrap/
Mayby is more then this 2?
Which one is better? What is difference? What with licence? My application is commercial.

Yii-Booster is a library that contains Yii-Bootstrap and many other Yii widgets and components.
If you just want Bootstrap your project Yii-Bootstrap will probably solve your problem, but if you want a more complete library I recommend Yii-Booster.
Example of widgets contained in Yii-Booster:
Select2: http://ivaynberg.github.com/select2/
Editable: http://vitalets.github.com/bootstrap-editable/#options
StickyTableHeaders: https://github.com/jmosbech/StickyTableHeaders
BootGroupGridView: http://groupgridview.demopage.ru/
JQueryUI Bootstrap CSS: http://addyosmani.github.com/jquery-ui-bootstrap/
And many other components:
http://yii-booster.clevertech.biz/components.html
http://yii-booster.clevertech.biz/json-grid.html
http://yii-booster.clevertech.biz/extended-grid.html;
As told you in other answer, both projects use the license New BSD License.
It's all a matter of fitting your needs.

The Yii Booster is one project based on Yii Bootstrap and have some components more.
The projects have the same source code base.
So far, the Yii Bootstrap, solved my problems, however, if you want to use some component unique of the Yii Booster, use it!
Both projects use the license New BSD License.
More informations about the projects you will find the links below:
Yii Bootstrap - Extension Page.
Yii Bootstrap - Discussion Topic.
Yii Booster - Extension Page.
Yii Booster - Discussion Topic.
Another similar extension: Yii Foundation 3.
Yii Foundation 3 - Extension Page.

A more up to date version of Yii-Bootstrap is Yiistrap. Yiistrap has also been written by the author of Yii-Bootstrap and is offered under a BSD-3-Clause license, so commercial use should be fine.
As already pointed out Yii-Booster is simply a prepackaged app with various extensions already in place. An alternative to that would be Yii-App for instance. It contains fewer markup extensions but a number of developer and backend extensions that may help with basic development.

Related

Piranha CMS How To Extend

I've just started looking at Piranah as a way to jump start a personal project. It looks great, but I would like to extend some of the models. For example, have an physical address field for every bog post.
What is the best way to add that, without causing issues when upgrading later?
Given that you’re using the latest version of Piranha for .NET Core the content types are very flexible and you can extend them in many ways through the framework. You can find good documentation on this here:
http://piranhacms.org/docs/basics/how-to-setup-content
If you’re using the legacy version of Piranha (2.x) you can read about it here.
http://legacy.piranhacms.org/docs/extend/page-post-types
The content model of the latest version of Piranha is far more flexible.
Best regards

how to convert yii 1 application to version 2

We have website which built in yii 1.1 version, now we would like to convert it to version 2. But we already have a lots of functionality and we do not have much time to do everything by scratch in yii 2. please do suggest.
I don't think there is a fast way of converting or migrating from Yii 1.1 to Yii2. They are similar in some ways but different enough.
I would recommend you first read most of The Definitive Guide to Yii 2.0, which includes Upgrading from Version 1.1.
In my opinion the best you can do is try to replicate the same modules and their functionality one at a time, trying to reuse as much code as you can from the 1.1 version. A few things that i think would be important are:
Create the new Yii2 models using Gii and adapt methods from your Yii 1.1 models. Edit and add validation rules as needed. There are many rules that might not have been available in Yii 1.1, however it can also be true the other way around.
Generate Yii2 modules with Gii. Just need these to create a better project structure. If you didn't use modules on Yii 1.1 i would recommend doing so for Yii2.
Generate Yii2 CRUDs with Gii inside the corresponding modules. This will help generate the controller, actions, views and search model needed for basic CRUD functionality. After that, you will need to edit the views and controller to fit your needs, which you can use your 1.1 code for reference.
Install needed extensions and widgets using composer. Many extensions from Yii 1.1 have updated versions for Yii2, but for those that do not you will have to find substitutes, which shouldn't be too difficult, although you will most likely have to read the documentation for both familiar and new extensions.
In the end you will need to spend time to have a Yii2 version of your website, there is no easy and fast way to jump
You don't need to convert your application completely you can use both at same time please have a look to
http://www.yiiframework.com/doc-2.0/guide-tutorial-yii-integration.html

What is the use of bootstrap subthemes in Drupal7?

Whats is the use of Bootstrap sub theme in Drupal 7 and why it is recommended? There is lot of articles out there on "How to Bootstrap sub-theming" but none of them are available for why?
As it is said on Drupal.org:
Sub-themes are just like any other theme, with one difference: They
inherit the parent theme's resources.
A Bootstrap sub-theme allows you to inherit from the Bootstrap framework itself. It brings you several benefits:
No need to download any contrib modules, the Bootstrap sub-theme kit should be enough.
A strong CSS base, with accurate variables customization.
Respect of web standards.
Great modularity.
...
I hope I answered the question.

ASP.NET MVC toolkit

I am coming from desktop dev background, wpf/SLight, and looking at switching to MVC application. Given I am absolutely rubbish at making stuff "pretty" what would be the best toolkit/widgets to invest in to help me on my way?
Looking for ease of use; UI look and feel; price?
I have experience with following control toolkit.
JQuery with JQuery UI : http://jqueryui.com/ Free and open source. Lot of community support, Lot of plugin to extend. you have more control over plugins and code. Very light. I have extensively use several mvic projects and I do recommend.
MVC controls toolkit. : http://mvccontrolstoolkit.codeplex.com/ - Free and open source code plex projects that you can use your mvc application.
DEvexprss mvc extension. http://mvc.devexpress.com/ : Commercial product with all necessary control for mvc application. Learning curve is bit high. But you can get very nice look for your application easily. Customization is difficult. They have good support from you technical issues. I have use for projects.
Kendo UI : http://www.kendoui.com/ commercial product from Telerik. I haven’t use in commrical project this but seems good.
One of the most popular UI frameworks is Twitter Bootstrap (FREE). It is built on top of jQuery and has lots of pretty widgets that are easy to use.
Another framework I like to use is KendoUI from Telerik (Price depends on what you need). It is very declarative so you simply need to add attributes to your html elements and it will take care of styling for you.

Can modules(extensions) be modified in Yii?

I am new to Yii framework, and just came across extensions provided by Yii. But I am confused whether we can modify the extension which are provided by Yii.
For example I am using Yii-user module, Now if I want to change the registration form provided by this module, So can I directly change it(by changing the files) ?
If - Yes: Will there be any problem while upgrading Yii version ?
If - No: How can be change it(May be from our custom file) ?
Yii-user module is provided by the community not an official yii extension, yes you can modified by replace it with another view file, if you mean a class the best way to modifie it is by extend it and override the methods you want to change.
Hope it helps
Yii is designed to build custom solutions, you should feel free to modify anything that is part of the generated 'site' including extensions and everything in the protected folder. However, conforming to the psyche and standards of coding used in Yii is certainly a good practice to benefit fully from the framework and you can only get into a habit of doing that after developing and re-developing with Yii over a period of time.
Upgrading Yii version updates files in the framework directory only so its safe to make changes in your site part.
You cannot upgrade that individual extension if you modify them directly(as now you have your own custom version). extending an extension as suggested by Cherif is a good option if you want to keep upgrade-ability for the extensions (protected/extensions).