To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Silex (web framework)

From Wikipedia, the free encyclopedia

Silex
Original author(s)Fabien Potencier and Igor Wiedler
Developer(s)Silex contributors, SensioLabs
Initial release16 September 2010 (2010-09-16)
Final release
2.3.0[1] / 20 April 2018 (2018-04-20)
Repository
Written inPHP
Operating systemCross-platform
TypeWeb framework
LicenseMIT License
Websitesilex.symfony.com Edit this at Wikidata

Silex is a micro web framework written in PHP and based on Symfony, Twig (template engine) and Doctrine (database abstraction). It is no longer supported since June 2018.[2]

The general purpose of Silex is to be as lightweight as you need it to be, as it is made for it to be as easy as possible to add features and extend the Silex base.[3] Silex can be used for the creation of small web applications (e.g. REST APIs) as this is the main case for micro frameworks,[4] however Silex can be extended into a full stack MVC framework.[5]

Silex comes in two available versions; 'fat' and 'slim'.[6] The difference between these being that the fat version is fully featured and includes database abstraction, a template engine and various Symfony components. Whereas the slim version just comes with a basic routing engine.

YouTube Encyclopedic

  • 1/5
    Views:
    3 716
    28 015
    15 367
    1 835
    5 783
  • Platform.sh introduction with Silex application (PHP/Symfony)
  • Best AI Website Builder | Phil Pallen
  • Intro to Silex
  • Silex Webinar #2 (ENG): Make a website from scratch with Silex and customize it with CSS
  • Build a Placekitten clone with Silex: Introduction (1/6)

Transcription

Features

The base feature set is a URL routing system, built-in Web Security, Sessions and Cookies abstraction. The extended version of Silex features integration of Twig, Doctrine, a Translation service for translating your application into different languages, a logging mechanism using the Monolog library to log requests and errors, services for form validation and generation, and more.[7]

History

Silex was originally created by Fabien Potencier, the creator of the Symfony framework, and Igor Wiedler.[8] It was first released 16 September 2010 (2010-09-16) as a 'web framework proof-of-concept'.[9]

Silex was at its time one of the best known micro frameworks for PHP[10] and was regularly placed among the fastest in benchmarks for micro framework comparisons.[11][12]

Silex became end-of-life in June 2018 with people being encouraged to use Symfony instead.[13][2]

Example

The following code shows a simple web application that prints "Hello World!":

$app = new Silex\Application();

$app->get('/', function() use($app) { 
    return 'Hello World!';
});

$app->run();

See also

References

  1. ^ "Changelog". silex.symfony.com. Retrieved 30 May 2019.
  2. ^ a b "The end of Silex". symfony.com.
  3. ^ "Writing Silex Service Providers".
  4. ^ "Scaling Silex".
  5. ^ "Silex from micro to full stack".
  6. ^ "Download - Silex - The PHP micro-framework based on the Symfony Components". silex.symfony.com. Archived from the original on 2018-06-24.
  7. ^ "Silex Included Providers".
  8. ^ "Who is behind Silex?".
  9. ^ "Fabien Potencier: first tweet about Silex".
  10. ^ "Best available PHP restful microframeworks".
  11. ^ "Performance benchmark of popular PHP Frameworks".
  12. ^ "PHP Framework benchmark".
  13. ^ "Silex, a simple Web Framework". GitHub. 19 November 2021.

External links

This page was last edited on 3 August 2023, at 14:59
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.