Webasyst 1.1.0 Release

    Webasyst (PHP-framework for creating multi-user web applications and sites) has been updated to version 1.1.0 and left the alpha version status. About the framework: website , GitHub , backend demo . PHP / MySQL / jQuery / LGPL. New Features: - The app "Site" version 2.0, which makes a complete framework the CMS - User Authorization in the front - the db.php: the possibility of replacing MySQL database to another - Universal design theme and the family of the CUSTOM Design - Multiple improvements to the "Applications Photos » , “ Blog ”, “To- Do Lists ”, “Contacts”, “Stickers”, etc. - Application Plugins

    - Saytmapy

    Under katom more about new features and the use of the framework as a CMS.

    Application "Site" 2.0

    The “Site” application allows you to manage routing, edit design templates and static information pages. The page hierarchy is configured by drag-and-drop (nesting is not limited).

    The frontend is formed using the Smarty template engine, and Smarty can be used almost everywhere: in design templates, static pages, blog posts, embedded blocks. This makes it easy to place the content of one application inside another. For example, the design {$wa->photos->photos('/tag/каникулы')}returns an array of photos with the tag “vacation”, and then this array is easily displayed in the correct layout, for example, in the body of a blog post or product description using {foreach}...{/foreach}.

    Routing allows you to arbitrarily distribute the address space of a site between applications. Creating sites that work on the basis of several applications (for example, on the basis of the "Site", "Blog" and "Photo", a store, a forum) is very simple.

    Multisite support is supported. Depending on the site (domain), the framework loads the desired set of routing rules. To make it convenient to manage several sites in one installation, the backend interface allows you to customize the application design (background) for each site individually.

    The framework differs from the classic CMS in that it does not impose a general design layout in which applications must be embedded in separate blocks. The unifying factor is routing., and each application itself determines how it will look. The designer, creating a new design theme for any application, focuses only on this application, and not on creating an abstract layout for all applications.

    CUSTOM Design Theme Family

    The ability to create universal themes that are suitable for many applications, too. Such universality is “non-rigid”: achieved by attaching to the parent theme, from which you can link images, CSS and individual templates. For example, we created a family of CUSTOM themes that use CSS and a common index.html template from the parent theme (the theme of the CUSTOM design for the Site application acts as the parent theme). This is how the design theme looks for the Photos application:

    By the way, we are looking for designers to develop beautiful themes for all applications based on Webasyst: "Site", "Blog", "Photo", the new Shop-Script, etc. Design themes can be published in our application catalog, from where users can get them Download and install for yourself with one click (first free, and in the future it will be possible to publish paid topics). Interested designers are welcome at framework-ru@webasyst.com

    User authorization in frontend

    To connect user registration and authorization functionality in your application, you need to create design templates signup.html, login.html, forgotpassword.html, and the framework will provide all the logic for working with users ( documentation ). The user interface in the backend is implemented by the basic Contacts application.

    Authorization is supported through Facebook, Twitter, Vkontakte and Google.


    Prior to version 1.1.0, each application declared a table structure in the app.sql file, which, in fact, was created by the MySQL dump. We replaced app.sql with db.php with a description of the structure of tables in the form of an array, which allows us to move away from tight binding to MySQL and reconfigure the framework from any DBMS in our applications.

    Application Plugins

    They allow the developer to immediately provide the possibility of expanding the functionality of their application using plug-ins. The developer places hooks in the application, and the framework connects the necessary plugin for the desired event ( documentation ).


    The framework automatically creates an XML sitemap for all used (located on this site) applications. Integrating the application with the sitemap is simple: you need to declare the pages available for indexing as an array ( documentation ).

    Multiple improvements

    Compared to the alpha version that we wrote about on Habré in the summer of 2011, a lot of new things appeared in the framework: user access rights, caching, CSS tools for building the backend interface, mobile backend, etc. All improvements - and this is several thousand commits - will be cumbersome to list.

    Download the framework: http://www.webasyst.com/en/framework/
    GitHub: https://github.com/webasyst/webasyst-framework
    Demo backend (not installed in the demo application "Site"): http: // demo -ru.webasyst.com/webasyst/
    Ready-made applications: http://www.webasyst.com/en/apps/

    Try also the UI sandbox with CSS documentation: http://www.webasyst.com/en/framework/ docs / dev / ui /

    Soon we plan to release an API, a completely new Shop-Script (expected at the end of 2012), various useful applications such as Newsletters, Support, Calendar, etc.

    We will be grateful for constructive comments and suggestions for further improvements (including suggestions for future applications, by the way).

    Also popular now: