Version 2.0 Released!

That's right, I've released a 2.0 but not a 1.0

The n.0 versions are pretty meaningless anyways. I would like to come up with some sort of version naming system that's a bit more fun, but for now it's a boring numeric system. Heck, I don't even have a name for this project yet. If you have any suggestions, leave a comment below.

You may not realize this, but you can download and use the code from this site for personal (non-commercial) use. It requires a decent amount of coding experience to setup for now and has some significant drawbacks such as lack of IE support, but makes up for it with many of the features which are designed to be easy to use.

Features

  • Attribute-centric programming- allows you to focus on the markup and content rather than JavaScript or CSS. Content authors can do their work without being required to to worry about things that are a developer's or designer's job. Knowledge of HTML and a few attributes may be helpful, but are not required.
  • Full AJAX navigation, with history. Navigation is almost instant and no reloading required. The page can be updated in an infinite number of ways, but only the updates are sent in responses. Back/forward buttons navigate as usual.
  • Responsive Design - Default CSS uses flexbox and viewport units. The page will resize and adjust according to the size it is given to be displayed in.
  • Feature Detection - Detect for support in CSS using @supports as well as in JavaScript + classes.
  • json_respone class dedicated to making responses to AJAX request both powerful and easy to write.
    $resp->html(
    '.someClass',
    'Hello World!'
    )->addClass(
    '.anotherClass',
    'myClass'
    )->attributes(
    'a[href]',
    'data-icon',
    'k'
    )->hidden(
    ':empty'
    )->enable(
    ':disabled'
    )->log(
    $_SERVER
    )->notify(
    $title,
    $body,
    $icon
    )->send();
  • Security on both client and server end using Content-Security-Policy and PDO prepared statements (no SQL injection) among many other security features
  • WYSIWYG editor - little or not HTML/CSS knowledge required for authors. Drag-'n-Drop images (currently as data-uri).
  • Designed for modern browsers - while this does mean limited support of Internet Explorer, it allows for a much better experience for most of the rest of users. Polyfills and fallbacks are in the works, but the aim of this is to provide the best of what the web has to offer, and that unfortunately excludes some outdated browsers.
  • SEO built in using microdata - search engines will know what to do with different sections of a page because it is explicitly told what the title of the article is, who wrote it, when it was written, who commented on it, etc. Example here
  • Templates are easy to write and use - just write some regular HTML and put your placeholders in caps surrounded by %s. Used as:
    $template = new template('my_template');
    $template->placeholder(
    'Content here'
    )->another_placeholder(
    'More Content'
    );
  • Most class methods are chainable - faster and easier coding
  • Updating design made easy thanks to CSS variables. Use Myth (not included) when unsupported or in production
  • An emphasis on portability - Moving to a different domain and don't want to update all of your links? Developing locally and pushing to a server? No worries! All links, etc. are relative unless specifically set as absolute.
  • Developer friendly - Things like backing up and restoring a database are as easy as clicking a button in the developer menu, which is available to admin users everywhere via contextmenu (no navigation required, Firefox only at this point). Also provides easy access to debugging info, and the ability to print out debugging info to the browser's console makes tracking down bugs relatively easy. Lastly, PHP errors are saved to a database with file, line, and error message included, and can be searched, filtered, and even fixed from the browser!
  • Free/Libre/Open/Creative Commons/Public Domain… whatever applies to what you're refering to. All artwork, icons, and code are free to use for personal use. Special thanks to OpenClipart and Open Font Library. All posts are automatically licensed under a Creative Commons 4.0 license.

View and download from GitHub. Feel free to contribute though either reporting a bug (include browser and version, screenshots are great too) or sending me a pull request.