Giter VIP home page Giter VIP logo

madoquabundle's Introduction

#MadoquaBundle

##Intro

MadoquaBundle is a very basic, markdown based blogging engine for Symfony2. It relies on a single directory with *.markdown files for its blog posts.

There's a simple service in Service/Post.php that describes the functionality.

You should be able to run this bundle in the latest sf2 sandbox. For speed reasons it's probably a good idea to run your Kernel in a cache wrapper, since there is no caching in the service/model layer.

##Configuration

Configuration options for the root config of your application.

parameters:
    #directory of your posts
    madoqua.post.directory: "/abs/dir/to/your/posts/"
    
    #Name of your blog
    madoqua.name: "A Name For Your Blog"
    
    #view scripts, set these to use a different view/theme
    madoqua.view.scripts.postread: "MadoquaBundle:Post:read"
    madoqua.view.scripts.postlatest: "MadoquaBundle:Post:latest"
    
    #optional if you don't have a handler already
    exception_listener.controller: "Application\MadoquaBundle\Controller\ExceptionController::handleAction" 

#DIC config
madoqua.view: ~ #madoqua view helpers
madoqua.post: ~ #madoqua post domain

##Markdown

The markdown used in the posts has but one simple extension over vanilla, in code blocks it's possible to denote the language of the code with #lang on the first line. The code will be parsed with GeSHi.

##Dependencies

For the markdown parsing it relies on KNPLabs' MarkdownBundle, although there's a tiny patch required, so for the time being you'll have to use naneau's branch.

madoquabundle's People

Stargazers

Alejandro Moreno avatar Remo Brunschwiler avatar Sarah Haïm-Lubczanski avatar Maurice Fonk avatar

Watchers

Maurice Fonk avatar James Cloos 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.