Yii2
CraftCMS
Yii2 | CraftCMS | |
---|---|---|
32 | 45 | |
14,208 | 3,162 | |
0.1% | 0.4% | |
9.3 | 10.0 | |
22 days ago | 3 days ago | |
PHP | PHP | |
BSD 3-clause "New" or "Revised" License | proprietary |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Yii2
-
Top 12 PHP Frameworks For Web Development in 2024
Yii is one of the oldest PHP frameworks, acronym as Yes It Is! It has 14.2k stars and 7k forks on GitHub. It is a fast, secure, and flexible PHP framework for web development, especially for building MVC architecture websites. It is an Object-Oriented PHP framework that requires knowledge of inheritance, polymorphism, etc.
- Yii framework – An easy to learn PHP MVC framework
- 🔥 Yii Database abstraction release
-
Creating an application # 5 - install using sub directory
In Yii Framework we have a middleware that will allow us to access our applications without the need to point the web server to the public directory of each template, so we will use the middleware SubFolder::class.
- Slim, possívelmente o framework ideal para quem vem do Golang
-
Assets #2 - installation
asset-packagist: This is the traditional Yii2 way, here we will add the following to our composer.json.
-
Assets #1 - definitions
It is often preferable to manage Yii Assets programmatically. For example, when you use the widget in a page, it will automatically include the required css and javascript files, instead of asking you to manually find these files and include them. And when you upgrade the widget to a new version, it will automatically use the new version of the Yii Assets. In this tutorial, we will describe the powerful Yii Assets management capability provided in Yii Framework .
-
Creating an application #2 - the concept of configuration
As we can see in the example above, we have defined the configuration of our packages in files .php (it doesn’t matter if they are YiiFramework packages or not), this allows us to define the configuration of each component in a very simple way to understand.
-
Templates available in Yii3.
Now if we want to create an extension, under the code standard used in the Yii Framework v.3 packages, we can use yiisoft/template, provides us the tools necessary for our code to comply with good coding standards they are:
-
Creating an application in Yii3 - part 3 the container di.
Now we understand how to do any configuration of any YiiFramework package or external, it is not necessary to have a single long and complex configuration file, we can organize it according to the group of configurations and Yii config will do the work for you, as well as the container it applies the definitions for you, with the automatic wiring facility in controllers, which makes it easy to access any container dependency without the need to use static access to it, or depend on the container itself.
CraftCMS
-
Different flavors of content management
The most typical approach is having a CMS admin panel sit somewhere on the server; everyone with an account uses this. This is a very convenient approach, especially when working with a team. This way, many people can work on different articles simultaneously without worrying about potential conflicts or overwriting stuff. The only con is related to security - everyone can try to get inside, and if you forget to update our CMS or some user have a weak password, it can be someone outside of our team. WordPress, Drupal, CraftCMS, or Ghost are perfect examples of such CMSs.
- Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG
-
Is Htmx Gaining in Popularity?
I checked one website in that list, it uses CraftCMS, which apparently has htmx bundled. (https://github.com/craftcms/cms/tree/main/src/web/assets/htm...)
Would be interesting to know which other CMS'es make use of htmx (and to what degree).
- Site without WordPress
-
Go with PHP
PHP has a lot of top tier CMSes. IMHO bunch of them are even better than Statamic. Craft CMS (https://craftcms.com/) is a lot more mature database based CMS. Kirby (https://getkirby.com/) is better at flat-file and has a lot better admin interface. Twill (https://twillcms.com/) is better integrated in Laravel and is fully open-source. Statamic mostly feels like it's sitting besides Laravel and they call themselves Laravel based for marketing.
-
Stack to build and deploy a fully functional personal blog?
You're basically looking for any CMS that supports headless mode. E.g. Strapi (https://strapi.io/, NodeJS based), CraftCMS (https://craftcms.com/, PHP based) or countless others.
-
SvelteKit+ MongoDB
Craft CMS
- 09
-
A mate of mine built a cool little Tottenham Database showing the history of spurs.
It's built on Craft CMS. Makes the relationships between elements (a match and a player, for example) super easy.
-
Creating a CMS with React, what should I look at?
Is there a reason you aren’t using an existing CMS? There’s a lot that provide all the UI functionality you are talking about and then expose it via a API to be consumed in your front end. https://craftcms.com is one option I’ve had good success with.
What are some alternatives?
Slim Framework - Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
Wagtail - A Django content management system focused on flexibility and user experience
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
Statamic - The official Statamic Static Site Generator
CodeIgniter - Open Source PHP Framework (originally from EllisLab)
Pico - Pico is a stupidly simple, blazing fast, flat file CMS.
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
Backdrop CMS - Backdrop is a full-featured content management system that allows non-technical users to manage a wide variety of content. It can be used to create all kinds of websites including blogs, image galleries, social networks, intranets, and more.
ReactPHP Promises Testing - PHPUnit assertions for testing ReactPHP promises
Kirby - Kirby's core application folder
CodeIgniter4 - Open Source PHP Framework (originally from EllisLab)
october - Self-hosted CMS platform based on the Laravel PHP Framework.