Фреймворки позволяют программистам делать больше за меньший промежуток времени. Сейчас существует много довольно таки популярных и интересных фреймворков для веб-разработки. Также существует такое понятие как «легкий фреймворк» (minimal, slim, light) — это фреймворк с минимальным, но базовым набором возможностей для веб-разработчика. Сегодня именно об этих легких фреймворках и поговорим.
1) Yaf — Yet Another Framework (Yaf) is a well structured web development framework, written purely in C – which enables it to be rather fast, but it might come at the cost of not being very practical.
2) Swiftlet — It’s self-acclaimed ‘smallest MVC framework you’ll ever use’, and while it’s MVC – it’s also sporting a nice GUI for managing and publishing content. It’s very easy to get up and running, and doesn’t require building any external builds, simply download; extract; good to go.
3) Slim — Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases.
4) Silex — Silex is the little brother to Symfony2 framework (a high performance framework), it’s built on top of it, and uses most of it’s components, so the syntax is going to be familiar if you’ve every worked with Symfony2. BUT, if you have not, Silex can be a great way to learn more about PHP, and development in general.
5) PolyFrameWork — Designed for fast and efficient production of lightweight and scalable web applications. While it’s small, tiny and not very feature rich, it will take some determination to learn, and it’s also worth noting that it’s maintained by a Spanish guy, ola to my Español readers!
6) Phalcon — Phalcon is a web framework implemented as a C extension offering high performance and lower resource consumption. It has been developed with ‘everyone’ in mind, and so comes available to all three major operating systems, hassle free. Web application frameworks can be tricky, especially when changing versions – the version one was abondoned, and many people were left hanging, pondering what to do.
7) Nanite — Nanite is a small “framework” to easily handle GET and POST requests with just about any URL format you can think of. It serves a single purpose, and does it well. It’s one of the smallest ones on the list.
8) MicroMVC — The name might suggest it’s a micro framework, and while it’s very tiny it does offer a fully functional PHP framework base, integrated with Object-relational mapping (ORM). On the other hand, MicroMVC is built with performance in mind. Easily one of the fastest frameworks ever made among the slue of small PHP frameworks. While most frameworks take 2-6MB of RAM to make a simple database request – MicroMVC can do it in less than .5MB while still using the full ORM.
9) Flight — Flight, just like ‘Respect\Rest’ was built to help you build RESTful web applications at ease. It’s minimal, easy to understand and very extensible. You’ll learn everything there is to know on the official GitHub repository.
10) Fat-Free — It’s only 60KBish in size, mature within its code, and includes a straightforward curve of writing and building web applications that work. Comes equipped with an easy-to-understand toolkit for the best web development experience, a high-performance URL routing and cache engine, built-in code highlighting, and support for multilingual applications. It’s lightweight, easy-to-use, and fast. Most of all, it doesn’t get in your way. Fat-Free supports all of the major database systems, and make their integration just as minimal as the framework itself. It doesn’t matter if you’re just starting out, or you’ve built with PHP for years – you’ll love the easy learning curve, and will be building web apps within days!
1) Toast — The Toast framework is a super simple CSS framework with a simple reset, a grid, and type styles. It’s worth noting that this lovely framework will support Internet Explorer version 8 and up, thanks to properties like box-sizing it’s using, to make development easier. It’s maintained and developed by Daniel Eden, who’s a designer at Dropbox. Expect quality.
2) Simple Grid — Incredibly easy to use, comes fully responsive and ready for any type of mobile device. It’s based on the ‘barebones’ style grid, and is designed with larger monitors in mind. Technically, it’s not a CSS framework, but a lightweight grid as it contains no styles for tables, buttons, etc,. Still, bound to save you time.
3) RocketCSS — RocketCSS offers grid layout, but it also has a ton of styles to choose from, and is the perfect solution for any designer or developer who needs an easy to use framework for building forms, tables, implementing buttons and even managing their images with a few interesting features. It’s LESS friendly.
4) Pure — A set of small, responsive CSS modules that you can use in every web project.
5) PocketGrid — Quite possible the smallest grid system in this list, coming in only at 0.5KiB. Instead of creating grids with rows and columns, PocketGrid introduces a more flexible concept with blocks and block groups.
6) Mistype — Mistype is a set of styles that helps you to design a new site. It’s a simple CSS prototyping framework. It’s built around being responsive, mobile friendly, and includes examples of media queries, grid containers, and utilities like display and float.
7) min — They claim it to be the worlds smallest CSS framework, coming in only at ~995 bytes, sporting LESS, and SASS. Quite extraordinary, what they’ve been able to accomplish, and perhaps the best feature of all is the ability to download the framework with separate components, helping you to increase / decrease the size of the project, based on the requirements. Scroll to the footer of the official homepage for two demos, while the official site itself is a demo. Good for single page sites, newsletters.
8) Kube — Kube is a minimalistic CSS-framework for professional developers and designers. It’s self-acclaimed as the most flexible framework there is.
9) KNACSS — KNACSS is a minimalist, responsive and extensible style sheet to kick-start your HTML / CSS projects. KNACSS is a collection of ready to use styles and snippets to kick start your project. Feel free to use it as a “reset”, then make it grow to suit your needs. Take the time to read the documentation before jumping in. Indeed, KNACSS doesn’t always suit beginners’ needs since a little thing can have big consequences.
10) Cascade Framework — This frameworks is utterly feature rich, and offers over ten different modules to help you build beautiful websites on the fly. It’s similar to Twitter bootstrap, but itself acknowledges the similarities, and the differences. Where Twitter Bootstrap puts its focus on delivering shiny user elements that can be dropped into any project and takes control of your project’s overall look-and-feel, Cascade Framework is intended to do the opposite.
1) bobo — Bobo is a light-weight framework for creating WSGI web applications. It’s goal is to be easy to use and remember.
2) Bottle — Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library. It provides support for apps like the Google App Engine, Python Paste, and includes several templates like Cheetah and Mako.
3) CherryPy — CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program. This results in smaller source code developed in less time. CherryPy will allow you to do a lot of the normal Python programming, but it does not come integrated with a templating system – which you’ll have to find for yourself.
4) Cyclone — Cyclone is a web server framework for Python that implements the Tornado API as a Twisted protocol.
5) Flask — Flask is a micro-framework for Python based on Werkzeug and Jinja2. It’s intended for getting started very quickly and was developed with best intentions in mind.
6) Itty-Bitty — itty.py is a little experiment, an attempt at a Sinatra influenced micro-framework that does just enough to be useful and nothing more.
7) Klein — Klein is a micro-framework for developing production-ready web services with Python. It’s built on widely used and well tested components like Werkzeug and Twisted, and has near-complete test coverage.
8) Morepath — Morepath is a Python web microframework, with super powers. Morepath is an Python WSGI microframework. It uses routing, but the routing is to models. Morepath is model-driven and flexible, which makes it expressive.
9) ObjectWeb — ObjectWeb is a fast, minimalist, pure-Python web framework that relies on no third party libraries. It is designed around using Python as it was originally intended to be used: as an Object Oriented Programming language. ObjectWeb supports the CGI and WSGI standards and has a built-in development server.
10) Pecan — Pecan was created to fill a void in the Python web-framework world – a very lightweight framework that provides object-dispatch style routing. Pecan does not aim to be a “full stack” framework, and therefore includes no out of the box support for things like sessions or databases. Pecan instead focuses on HTTP itself.
1) Express — The idea behind Express is to provide an accessible and lightweight framework that you can use to build both large and small, hybrid applications for the web.
2) Flatiron — Flatiron is a framework that is supported with a generous sponsorship from the Nodejitsu project, and of course communities all around the world. Flatiron was put together in order to diversify how web applications are created, but also to provide a stable framework for building something modern and reliable.
3) Koa — Koa is actually a web framework that’s being developed and maintained by the original team behind Express, the first Node.js framework I listed on this post. We clearly see the trend of evolution forming rather quickly, and Koa is no exception.
4) total.js — is a very modern minimal web framework for creating great Node.js applications. It’s designated for people who are interested in creating large scale web applications that are both elegant and up-to the latest web standards.
5) restify — This one is pretty straightforward, and I felt obliged to include it in the list, as it serves one purpose and servers it very well. You’ll find on the official restify guide page an explanation as to why is this framework more appealing than Express, when it comes to creating REST API for your applications.
1) Rack — Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.
2) Sinatra — Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.
3) Cuba — Cuba is a microframework for web applications.