GithubHelp home page GithubHelp logo

structal.blog's Introduction

Structal Blog

Structal Blog is a simple real-time example app taken from Spine.js (www.spinejs.com). It extends Spine by adding a poll method that checks the server for changes. When the app is open in two windows, changes in one window can be seen in the other.

Structal Blog utilizes the Structal toolset that includes the ORM library Mullet.php and the client-side MVC library Spine.js. Installation is a snap and only requires inputting a few database settings. Soon this step won't be necessary either as a database will automatically be generated for a user upon download.

Requirements

A Windows or Unix-based Web server with PHP version 5.2 or greater A SQL database (MySQL, PostgreSQL, SQLite) or noSQL database (MongoDB, CouchDB).

Installing Structal Blog

  1. Download Structal Blog from http://github.com/voitto/structal.blog
  2. Place the folder onto the web server that is to display Structal Blog.
  3. Enter the database settings for the web server into index.php. An example configuration is as follows:

$config = array( "", // host name ('localhost' | '' | IP | name) 'brian', // db user name 'dbPass', // db user password 'Blog', // db name 5432, // port number (3306/mysql | 5432/pgsql | 443/ssl) 'pgsql' // db type (mysql | pgsql | couchdb | mongodb | sqlite | remote) );

  1. Run the app! When the app is open in two windows, a change seen in one window should be seen in the other.

Bugs

Any help listing bugs at Structal Blog's Issues Page is greatly appreciated!

More Info

http://structal.org #structal channel on Freenode IRC

structal.blog's People

Contributors

martinbenj avatar voitto avatar

Stargazers

Brandon Burkeen avatar  avatar Joshua Stauter avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

martinbenj

structal.blog's Issues

Only 15 Database Entries

Currently this app only holds about 15 database entries before the database ceases to record further entries and the real-time action stops working. This can be remedied by going into Mullet.php and searching for the number 15. It can be found on line 602, which should read "$limit = 15;". This can be increased or decreased to the user's liking.

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.