GithubHelp home page GithubHelp logo

worthy-stony-morning's Introduction

Worthy-Stony-Morning

Assignment for webs2

##Architectuur ###Entry point Het entry point is ./index.php. Door middel van URL reqriting worden alle request naar toe doorgestuurd op apache. Hierin wordt ./bootstrapping.inc.php aangeroepen.

Vervolgens wordt een nieuw klasse Request gemaakt welke de URI onderdelen splitst in een controller gedeelte, actie gedeelte en eventuele paramters.

Vervolgens wordt door de klasse Router de Request verwerkt. Hierin wordt gekeken of de aangevraagde controller en action (methode) bestaat. Vervolgens wordt deze controller gemaakt en de actie aangeroepen. De return waarde van de controller is de body van de response.

###Bootstrapping Het bootstrappen gebeurt in ./bootstrapping.inc.php. Hierin worden een aantal handige constans gedefineerd. Vervolgens wordt er een autoloader ingeladen welke het laden van alle vervolg klassen op zich neemt.

###Views Alle views zijn html en php door elkaar. Deze bevinden zich in de map views en eindigen in .phtml. Bij het maken van de klasse Template kun je all variabele toewijzen, deze worden uitgepakt in de daadwerkelijke variabele in het .phtml bestand.

worthy-stony-morning's People

Contributors

waaghals avatar

Watchers

 avatar  avatar

worthy-stony-morning's Issues

Frontend

  • Homepage with info
    • At least a who, what, where, when, why and how
    • Carousel with images (jQuery)
  • A list with al public events.
    • Event has a title, date, starttime, short description, long description, and an email-address.
    • Show short description in list
    • Expand description to long description when event is clicked (jQuery, AJAX?)
  • Contact page
    • Send mail form

Categories

Store category in backand.
Use nested set.

Backend

  • Change carousel images, store path in database
  • Maintain homepage content
  • Maintain event, CRUD.
  • Maintain contact page content

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.