Permalink
Browse files

Copy of DCore first add

Signed-off-by: Adrian Jones <adrianj1998@hotmail.com>
  • Loading branch information...
0 parents commit 458303a2f6b480ae97f74c1fae9e04b35885f0cf @adrianj98 adrianj98 committed Sep 12, 2012
@@ -0,0 +1,2 @@
+
+/_site
1 CNAME
@@ -0,0 +1 @@
+dcore.bbfmedia.com
@@ -0,0 +1,33 @@
+
+pygments: true
+
+sitename: "DCore"
+tagline: "PHP Framework"
+
+production_url : "http://dcore.bbfmedia.com/"
+url: "http://dcore.bbfmedia.com/"
+
+safe: true
+auto: true
+baseurl: "http://dcore.bbfmedia.com/"
+
+
+markdown: rdiscount
+permalink: "/blog/:year/:month/:day/:title/"
+
+
+
+
+
+navigation:
+- text: Home
+ url: /
+ layout: default
+- text: About us
+ url: /about/
+ layout: page
+- text: Blog
+ url: /blog/
+ layout: archive
+
+
@@ -0,0 +1,50 @@
+
+
+ <article class="post">
+
+ <h1 class="post-title">{{ page.title }}</h1>
+ <div class="post-meta">
+ <time class="date" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_long_string }}</time>
+
+ </div><!-- .post-meta -->
+ <div class="post-content">
+ {{ content }}
+ </div><!-- .post-content -->
+ <footer class="post-footer">
+
+ </footer><!-- .post-footer -->
+ </article><!-- .post -->
+
+ <div class="comments">
+
+
+ <div class="fb-comments" data-href="{{ site.production_url }}{{ page.url }}" data-num-posts="2" data-width="620"></div>
+
+ <!--
+ <div class="fb-like" data-href="my.domain.com" data-layout="standard" data-send="false" data-width="255" data-show-faces="false" data-action="recommend" data-font="verdana"></div>
+-->
+ </div>
+
+
+ <nav class="pagenation">
+ <ul>
+ {% if page.previous %}
+ <li class="before left"><a rel="prev" href="{{ page.previous.url }}" title="View {{ page.previous.title }}">&laquo; Previous</a></li>
+ {% endif %}
+ {% if page.next %}
+ <li class="next right"><a rel="next" href="{{ page.next.url }}" title="View {{ page.next.title }}">Next &raquo;</a></li>
+ {% endif %}
+ </ul>
+ </nav>
+
+ <!--
+ <div id="related" class="clear">
+ <h2>Related Posts</h2>
+ <ul class="posts">
+ {% for post in site.related_posts limit:3 %}
+ <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ -->
+
@@ -0,0 +1,22 @@
+<!--
+<div id="secondery">
+
+ <div class="social-links">
+
+
+ <ul>
+ <li><a href="http://facebook.com/magpielab" target="_blank"><span>Facebook</span>linke us</a></li>
+ <li><a href="http://twitter.com/magpielab" target="_blank"><span>Twitter</span>Follow us</a></li>
+ <li><a href="https://plus.google.com/100882078777953451232/posts" target="_blank"><span>Google</span>Add to circle</a></li>
+
+ </ul>
+
+
+
+ </div>
+
+
+
+</div>
+
+-->
@@ -0,0 +1,22 @@
+ </section>
+
+ <aside id="sidebar">
+ <a href="https://github.com/BBFMedia/DCore/zipball/master" class="button">
+ <small>Download</small>
+ .zip file
+ </a>
+ <a href="https://github.com/BBFMedia/DCore/tarball/master" class="button">
+ <small>Download</small>
+ .tar.gz file
+ </a>
+
+ <p class="repo-owner"><a href="https://github.com/BBFMedia/DCore"></a> is maintained by <a href="https://github.com/BBFMedia">BBFMedia</a>.</p>
+
+ <p>Using the Architect theme by <a href="http://twitter.com/jasonlong">Jason Long</a>.</p>
+ </aside>
+ </div>
+ </div>
+
+
+ </body>
+</html>
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset='utf-8'>
+ <meta http-equiv="X-UA-Compatible" content="chrome=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+<link href='http://fonts.googleapis.com/css?family=Life+Savers' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" type="text/css" href="{{ site.url }}stylesheets/stylesheet.css" media="screen" />
+ <link rel="stylesheet" type="text/css" href="{{ site.url }}stylesheets/pygment_trac.css" media="screen" />
+ <link rel="stylesheet" type="text/css" href="{{ site.url }}stylesheets/print.css" media="print" />
+
+ <!--[if lt IE 9]>
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <title>Dcore by BBFMedia</title>
+ </head>
+
+ <body>
+ <header>
+ <div class="inner">
+ <h1>Dcore</h1>
+ <h2>PHP Frame Work</h2>
+ <a href="https://github.com/BBFMedia/DCore" class="button"><small>View project on</small>GitHub</a>
+ </div>
+ </header>
+
+ <div id="content-wrapper">
+ <div class="inner clearfix">
+ <section id="main-content">
@@ -0,0 +1,21 @@
+{% include header.html %}
+
+
+ <section class="archive">
+
+ <h1 class="archive-title">{{ page.title }}</h1>
+ <p class="archive-intro">{{ page.intro }}</p>
+
+ <div class="archive-content">
+ <ul class="posts">
+
+ {% for post in site.posts %}
+
+ <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
+
+ {% endfor %}
+ </ul>
+ </div><!-- .post-content -->
+ </section><!-- .post-->
+
+{% include footer.html %}
@@ -0,0 +1,7 @@
+{% include header.html %}
+
+<div id="primary" role="main">
+ {{ content }}
+</div>
+
+{% include footer.html %}
@@ -0,0 +1,13 @@
+{% include header.html %}
+
+ <article class="page">
+
+ <h1 class="page-title">{{ page.title }}</h1>
+ <p class="page-intro">{{ page.intro }}</p>
+ <div class="page-content">
+ {{ content }}
+ </div>
+
+ </article>
+
+{% include footer.html %}
@@ -0,0 +1,7 @@
+{% include header.html %}
+
+
+{% include article.html %}
+
+{% include footer.html %}
+
No changes.
No changes.
@@ -0,0 +1,53 @@
+---
+layout: page
+title: About
+intro: We're problem solvers. We believe good design is about finding clear and simple solutions to complex problems, and realising them in the most elegant and effective way.
+desctiption:
+---
+
+
+<p>Magpie Lab is a web development agency specialized in delivering custom, scalable solutions using Ruby on Rails, PHP, SQL, and related technologies. We are committed to working side-by-side with our clients to design, develop, and implement innovative solutions to suit their individual needs.</p>
+
+<p>We begin each project by reviewing existing operating procedures and evaluating our clients' current and future needs. We then translate those requirements into concrete strategic and technical solutions to expedite workflow, improve communication, and enhance productivity.</p>
+
+<p>Committed to excellence in our craft, we are passionate about delivering beautifully-designed, robust solutions and take great pride in maintaining strong, ongoing relationships with our clients.</p>
+
+<p>Magpie Lab is directed by <a href="http://eyoosuf.com">Yoosuf Muhammad</a>, lead developer and expert trainer. Yoosuf has been developing web sites and web applications since 2003.</p>
+
+
+<!--
+<h2>Our team</h2>
+
+
+<ul class="team">
+ <li class="member">
+ <div id="hcard-Yoosuf-Muhammad" class="vcard">
+ <strong class="fn">Yoosuf Muhammad</strong>
+ <div class="org">Magpie Lab</div>
+ <a class="email" href="mailto:yoosuf@magpielab.com">yoosuf@magpielab.com</a>
+ <div class="adr">
+ <span class="locality">London</span>
+ <span class="country-name">United Kingdom</span>
+ </div>
+ </div>
+
+ </li>
+ <li class="member">
+
+ <div id="hcard-Mohamed-Rifakath" class="vcard">
+ <strong class="fn">Mohamed Rifakath</strong>
+ <div class="org">Magpie Lab</div>
+ <a class="email" href="mailto:rifakath@magpielab.com">rifakath@magpielab.com</a>
+ <div class="adr">
+ <span class="locality">Colombo</span>
+ <span class="country-name">Sri Lanka</span>
+ </div>
+ </div>
+ </li>
+</ul>
+-->
+
+
+
+
+
@@ -0,0 +1,23 @@
+---
+layout: nil
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+ <title>{{ site.sitename }} | {{ site.tagline }}</title>
+ <link href="{{ site.url }}/atom.xml" rel="self"/>
+ <link href="{{ site.url }}"/>
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
+ <id>http://layouts.studiomohawk.com/</id>
+
+ {% for post in site.posts %}
+ <entry>
+ <title>{{ post.title }}</title>
+ <link href="{{ site.url }}{{ post.url }}"/>
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
+ <id>{{ site.url }}{{ post.id }}</id>
+ <content type="html">{{ post.content | xml_escape }}</content>
+ </entry>
+ {% endfor %}
+
+</feed>
@@ -0,0 +1,7 @@
+---
+layout: archive
+title: Blog
+intro: Thank you for visiting our blog, find some of our updates and workflows.
+desctiption:
+---
+
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,64 @@
+---
+layout: page
+title: Introduction
+intro: Simple Overview
+desctiption:
+---
+
+DCore is a simple lightweight PHP framework. DCore was never intended to be a
+replacement for other frameworks, but has grown to maturity and felt sharing it
+would not hurt. Plus would force for better code standards and documentation.
+
+Second motive is to create a XHP UI framework. The XHP framework would site on top
+of DCore and reply on it. DCore would not depend on the XHP framework.
+
+Can try the [tutorials](docs/tutorials.html)
+
+
+Status
+=======
+
+Currently many items need to be worked on.
+
+Unit testing is not in the repository but I hope to add them soon.
+
+
+
+
+DCore Archetcture
+================
+The code is light weight enough that on could step through the execution of the sample
+application and have a good understanding of the entire project.
+
+Below is a description of the execution made by a DCore apps. "*" files are files in the
+application not in the framework.
+
+<pre>
+<code>
+*index.php
+ | DCore includes DCore
+ | | DCore include *'config.php' in you application
+ | | and creates singlton global _$registry_ global
+ | |
+ | | $registry calls $register->load() to load all modules defined in *_config.php_
+ | | $register->load() loads each module such as cache, router
+ | | module by calling module->init();
+ | |
+ | | plugins if plugins is a module in your config then plugins->init() is called
+ | | and will include each plugin witheither %plugin%\init.php is included
+ | | or create the plugin class
+ | | | include *init.php
+ |
+ | router *index.php call $registry->router->loader()
+ | | takes url and finds controler and action
+ | | *controller router calls the controller->$action()
+ | | controller does contoller things:)
+ |
+ | template your *index.php can call a view choice
+ | | by calling template which intern finds the view
+ | |
+ | | view renders view
+ |
+ | index.php eachos out the view
+ </code>
+ </pre>
@@ -0,0 +1 @@
+console.log('This would be the main JS file.');
Oops, something went wrong.

0 comments on commit 458303a

Please sign in to comment.