Git Product home page Git Product logo

jungle-dummy-app's Introduction

DummyApplication

tests build demo application

Chronology:

  1. We are do Create structural file system

    • Public folder
      • index.php
      • assets/ folder for resources Pictures, Styles and Script for site semantic
    • Folder organization of the core
      • App - my application folder
      • Jungle - git submodule Jungle.git
  2. We are use $ cd core && git submodule add https://github.com/Lexus27/Jungle.git Jungle

  3. We inherit the base Jungle\Application classes for mca-organizing system

    • Place model classes definition in App\Model
    • Place our modules in App\Modules
    • Place controller classes by pattern App\Modules\{ModuleName}\Controller\{ControllerName}Controller
    • We define our logic for basic services in method App\Application::registerServices(DiInterface $di)

      must have services: event_manager and crash_reporter

    • In method App\Application::initializeView we are do initialize View instance
    • In method App\Application::initializeViewRenderers need have set aliased Renderers
  4. MCA-Module define intercepted exception behaviour for Process::getTask('access') and forward to our denied mca-action reference

  5. First of all before 'Hello World', we must create a system of mca - is Module, Controller and Action to reference #index:index:index as default in our application

    The same applies to our html templates in the App/Views/html folder

  6. Define services to our App\Strategies\Http(RequestStrategy)

    RequestStrategy separates the logic of interaction with the data request from the application logic

    • Service router general service for routing in application on concrete Strategy
      • Important use Router::notFound for specify not_found reference and params(If none of the specified paths does not match)
      • Important set main reference #index:index:index(in our app) route for successfully work it by default
    • Service view_strategy for recognizing semantic to target renderer for current Request
    • Service session need instance SessionManager
    • Service cookie need instance CookieManager
    • Service account need instance \Jungle\User\Account, for work with users

Folder App/Services must contains custom extended services and our classes uses in application work

Good luck in the development of their applications decent

jungle-dummy-app's People

Contributors

lexus27 avatar

Watchers

James Cloos avatar  avatar

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.