Git Product home page Git Product logo

building's Introduction

Building

Building is a basic CMS Framework based on simple block objects for silverorange/site.

Building is responsible for the following data objects:

  • Block

Building also provides a series of view objects for displaying different block types found in Building/views.

Installation

Make sure the silverorange composer repository is added to the composer.json for the project and then run:

composer require silverorange/building

building's People

Contributors

charleswaddell avatar gauthierm avatar gervaisdem avatar isagrant avatar keithburgoyne avatar kendraso avatar nburka avatar pparke avatar qcode avatar wittman avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

building's Issues

Dataobjects and sql.

  • sql/
    • block.sql
  • dataobjects/
    • BuildingBlock.php
    • BuildingBlockWrapper.php

See associated database diagram.
screen shot 2014-03-07 at 5 35 54 pm

Foreign keys reference standard SiteImage, SiteMedia, SiteAttachment tables.

Block admin component

Edit and Delete tools.

For edit, add an abstract edit class, and then individual edit classed for each type.

  • Text
    • XHTML Textarea
  • Image
    • Upload
    • Description
    • Title
  • Audio
    • Upload
    • Description
    • Title
  • Video
    • Picker (Separate issue, leave a stub).
    • Description
    • Title
  • Attachment
    • Upload
    • Description
    • Title

No index for now as this will be used by other packages and admins directly.

Admin views

Simplified views for the admin. (SiteComment does this, look there for basic inspiration).

Add view factory and basic views

Build basic view factory and associated views. In the views, just echo the associated content out for now.

  • Building/
    • BuildingBlockViewFactory.php
    • Views/
      • BuildingBlockView extends SiteView
        • BuildingBlockTextView
      • BlockImageView
      • BlockAttachmentView
      • BlockMediaView
        • BlockVideoView
        • BlockAudioView

Default content type set sql

Basic sql to create start of sets for block content:

  • ImageSet
  • Video MediaSet
  • Audio MediaSet
  • AttachmentSet

Bare minimum needed for these tables and content types. Where fooSet's have a public flag, assume public. Sites will be responsible for customizing.

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.