Skip to content

allinora/parse-php-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parse PHP CMS

Example app to test and demonstrate the PHP-SDK for parse.com backend

Authors

Contributors

  • [You: Just add your name here when you contribute something]

About

This web-application will build a small CMS.

The CMS will have a frontend and an admin area. Everything that is visible in the frontend should be manageable from the admin interface.

Some core elements.

Navigation: This is tree of nodes ParseObject("Navigation")

with the following properties

  1. id: automatically generated by Parse
  2. parent_id: either null or empty or a valid Navigation id
  3. name: This is what shown in the menu
  4. slug: This is what is used in the url
  5. title: The title of the url
  6. description: The meta description of the url

Pages: This is the content part

A page can be shared by different navigation elements

Pages have the following properties

  1. id: automatically generated by Parse
  2. name: something to tell the webmaster what the page does
  3. data: The content of the page

The goal is to use as much capabilities of Parse.com as the SDK can provide. This will help to both demonstrate the usage and to find bugs.

The app should touch the following features.

  1. Signup
  2. Login
  3. Session
  4. Caching
  5. Parse Objects
  6. Object relations (pages belong to one or more navigation element, comments belong to users etc)

Installation

Clone from git into a directory called parse-php-cms

git clone https://github.com/allinora/parse-php-cms.git

Install the dependencies

cd parse-php-cms
make install

Edit the parse-php-cms/config/config.php and replace values in the PARSE constants

Run the application

make run

Browse on localhost:8080

Developers

Almost all the Parse-SDK functions are in library/ParseApp/Cms.php

Bug reporting

Please report in the issue tracker at https://github.com/allinora/parse-php-cms/issues

License

The MIT License (MIT)

Copyright (c) 2014 Atif Ghaffar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A simple CMS based on parse-php-sdk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published