Skip to content

ioquatix/utopia-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utopia (Legacy PHP Code)

Utopia is a framework for building websites. This codebase is legacy PHP which is no longer used. It was originally developed in the early 2000s when I was bout 15. It serves as an interesting reference point for the development of the current Utopia project.

Interesting Notes

Versioned Loading

Utopia was versioned almost from the first version with loadable modules. The idea was to have a shared area with versioned dependencies (similar to how gems work). Websites could load the required modules dynamically.

Templates / Partials

Utopia was designed using an XML-like template system. The core view was represented as a node, and named tags could include other nodes. This was a little bit similar to ColdFusion at the time. Because of the recursive lookup of nodes, it was easy to keep theme/layout separate from specific view/controller logic.

License

Released under the MIT license.

Copyright, 2015, by Samuel G. D. Williams.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages