2017 © Pedro Peláez
 

library pronto-framework

The Pronto CMS base Framework.

image

avvertix/pronto-framework

The Pronto CMS base Framework.

  • Sunday, September 25, 2016
  • by avvertix
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

Pronto CMS Framework

This is a work in progress, (*2)

This is the base framework (or better to say collection of services) for the flat-file based Pronto CMS. This little framework provides Markdown parsing and Content extraction capabilities in the form of Laravel Lumen service providers., (*3)

Requirements

  • php 5.5.9+
  • php fileinfo extension
  • Composer (for managing PHP dependencies)

API and Services offered

to be described, (*4)

pageview helper, (*5)

render a markdown file in a view and returns the composed view, (*6)

pageroute helper, (*7)

get a link to the specified markdown file, (*8)

content_path helper, (*9)

image_path helper, (*10)

assets_path helper, (*11)

What content is understood

The content parser offered in this little framework is capable of understanding markdown files with/with-out front-matter., (*12)

Markdown files are forced to have .md extension and with UTF-8 character encoding., (*13)

If the front matter is set it must start with --- and end with --- on their respective lines, like, (*14)

---
Order: 0
PageTitle: Welcome to Pronto
TOCTitle: Welcome
MetaDescription: This is Pronto, the CMS almost "ready".
MetaTags: pronto, cms
---

This is the page **static text**

Metadata

Actually some metadata contained in the front-matter section of the Markdown files are used inside the framework:, (*15)

  • Order - This is the order that is used in the left rail TOC, the page is left out of the TOC if this is blank
  • PageTitle - The title used in the HTML title for the page and in search results
  • TOCTitle (optional) - The title used in the left rail Table of Contents for this page. Use this is the title needs to be different than PageTitle
  • MetaDescription - The meta description for this page which helps for search
  • MetaTags - Further tags for this page again for search

The Versions