All Projects → markc → spe

markc / spe

Licence: AGPL-3.0 license
A series of PHP8 examples based around a super simple MVC framework (WIP)

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to spe

framework
Aplus Full-Stack Framework
Stars: ✭ 172 (+1128.57%)
Mutual labels:  mvc, php8
Pmanager
A project management system built using laravel. Watch full video here
Stars: ✭ 260 (+1757.14%)
Mutual labels:  mvc, oop
app
Aplus Framework App Project
Stars: ✭ 338 (+2314.29%)
Mutual labels:  mvc, php8
Designpatternsphp
sample code for several design patterns in PHP 8
Stars: ✭ 20,158 (+143885.71%)
Mutual labels:  oop, php8
php-mvc-skeleton
A PHP OOP web application skeleton that uses MVC architectural pattern to create a basic application that contains login and multi language systems and can be used in any web project.
Stars: ✭ 46 (+228.57%)
Mutual labels:  mvc, oop
estore
Electronic Store Application - A web based application developed using PHP and Driven by MySQL Database
Stars: ✭ 48 (+242.86%)
Mutual labels:  mvc, oop
mvc
PHP MVC boilerplate with user authentication, basic security and MySQL CRUD operations.
Stars: ✭ 28 (+100%)
Mutual labels:  mvc, oop
Laconia
🏺 ‎ A minimalist MVC framework.
Stars: ✭ 307 (+2092.86%)
Mutual labels:  mvc, oop
Interviews
A list of fancy questions I've been asked during the interviews I had. Some of them I ask when interviewing people.
Stars: ✭ 140 (+900%)
Mutual labels:  mvc, oop
Flexicms
Flexible site management system Flexi CMS
Stars: ✭ 61 (+335.71%)
Mutual labels:  mvc, pdo
trac-nghiem-online
Xây dựng hệ thống trắc nghiệm online cho các trường THCS, THPT một cách nhanh chóng và dễ dàng. Không cần phải là lập trình viên
Stars: ✭ 64 (+357.14%)
Mutual labels:  mvc, oop
softn-cms
Sistema de gestión de contenidos
Stars: ✭ 22 (+57.14%)
Mutual labels:  mvc, oop
apostilas
Apostilas sobre diversos assuntos: PHP, PDO, MySQL, PHPOO, MVC, mobile, scratch, git, github, docker, vps, alpine linux, segurança na wev, servidores, etc
Stars: ✭ 49 (+250%)
Mutual labels:  mvc, pdo
MADE.NET
MADE.NET is a home to all of those bits of code that you know you'll reuse in another project. Making app development easier with .NET.
Stars: ✭ 75 (+435.71%)
Mutual labels:  mvc
UIPheonix
Inspired by game development UIPheonix is a super easy, flexible, dynamic and highly scalable UI framework + concept for building reusable component/control-driven apps for macOS, iOS and tvOS. The same API apply for cross platform development! Think of it as using Lego blocks, you can use similar ones and move them around easy as pie.
Stars: ✭ 29 (+107.14%)
Mutual labels:  mvc
convoworks-core
PHP framework for handling conversational services like Amazon Alexa skills, Google Assistant, Viber, FB messenger ...
Stars: ✭ 20 (+42.86%)
Mutual labels:  oop
ConvNet-OOP
ConvNet Implementation: An Object Oriented Approach using Keras API.
Stars: ✭ 20 (+42.86%)
Mutual labels:  oop
Nutgram
The Telegram bot framework that doesn't drive you nuts.
Stars: ✭ 206 (+1371.43%)
Mutual labels:  php8
command-core
The MVC library of CLI development
Stars: ✭ 77 (+450%)
Mutual labels:  mvc
respo.cljs
A virtual DOM library built with ClojureScript, inspired by React and Reagent.
Stars: ✭ 232 (+1557.14%)
Mutual labels:  mvc

SPE - Simple PHP7 Examples

Copyright (C) 2015-2017 Mark Constable [email protected] (AGPL-3.0)

A very simple PHP7 "framework" that will be expanded to include more small project examples building on the first very lean foundation and incorporating additional functionality in each successive example. This is not a repository of all the attributes of PHP7, there are already many other great projects and pages that provide excellent PHP7 guides, but rather a series of examples that are fully developed under PHP7 (sury/php7.0 PPA on Ubuntu 15.10 2015-09) and taking advantage of any new PHP7-only constructs where it makes sense. Each folder will contain a more comprehensive example of a working, and hopefully useful, sub-project with a README.md explaining each example. This README will provide an overview and index of all examples and some hints that apply to all the sub-project examples.

  • 01-Simple

    At 90 LOC this is about the simplest 3 page example of this particular framework style I could come up with. It is a self-contained single script withall code encapsulated within classes.

  • 02-Styled

    Funcionally similar to the above barebones example but with a small amount of inline CSS to provide a minimum of style along with the Roboto font from Google CDN.

  • 03-Plugins

    A simple example of providing "plugins" which are basically the model of the traditional MVC coding style. It also includes a simple AJAX link on the About page that dumps the main global output array using the ultra simple remote XHR API. There is also an example of passing a success/error message back into the same page but it will be replaced with session vars in one of the next examples.

  • 04-Themes

    Extend the above example to include basic themeing classes and methods.

  • 05-Autoload

    Add a simple spl_autoload_register() function to autoload the split out plugin and theme classes.

  • [06-Session]

    TODO:

  • [07-PDO]

    TODO:

  • [08-Users]

    TODO:

  • [05-Auth]

    TODO:

  • [10-Files]

    TODO:

The associated example README files will act as both code comments and general documentation for each project and an easy way to follow along is to open up two browsers side by side with the README documentation on the left side and drag the reference page line links to the right hand side browser which will highlight the code being discussed.

This function below has proven to be quite useful for examining the code, assuming you have access to the servers error_log file...

function dbg($var = null)
{
    if (is_object($var))
        error_log(ReflectionObject::export($var, true));
    ob_start();
    print_r($var);
    $ob = ob_get_contents();
    ob_end_clean();
    error_log($ob);
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].