-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from Purecis/v2.1
update codeHive to V2.1
- Loading branch information
Showing
39 changed files
with
5,413 additions
and
2,592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# exclude everything except directory foo/bar | ||
/* | ||
!/system | ||
!/docs | ||
|
||
!/assets | ||
!/assets/library | ||
/assets/library/* | ||
!/assets/extensions | ||
/assets/extensions/* | ||
/assets/extras | ||
!/assets/cache | ||
/assets/cache/* | ||
|
||
!/apps | ||
/apps/* | ||
!/apps/sample | ||
!/apps/_cli | ||
!/apps/_global | ||
|
||
!LICENSE.md | ||
!README.md | ||
!robots.txt | ||
|
||
# remove ! if you want to use your own path and project | ||
!index.php | ||
!.htaccess | ||
|
||
|
||
# global files to ignore from https://github.com/github/gitignore/tree/master/Global | ||
|
||
# OSX Git Agnore | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
# | ||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,41 @@ | ||
## CodeHive PHP Framework v2.0 | ||
*** | ||
codeHive is a lightweight web Application Development Framework with expressive elegant syntax. codeHive gives you an MVC structure allowing you to concentrate on the fun stuff while building web applications. | ||
|
||
codeHive is tiny in code and huge in thought. Being lightweight and simple is fundamental to codeHive. | ||
|
||
|
||
|
||
# CodeHive PHP Framework v2.1 | ||
|
||
### Core values | ||
|
||
* MVC - The MVC pattern, or Model View Controller, is at the heart of codeHive applications. It ensures your application is modular, name-spaced and doesn't descend into a mess of view and model logic by having a consistent architecture. It's great for teams, and brings a well needed structure to PHP development. | ||
|
||
* Simplicity - codeHive is a minimum possible viable product. It doesn't dictate you it way of programming, you can chose how to play with code in many ways, even your way, It is a huge framework consisting of different kinds of widgets and modules. The goal is to get things out of your way, letting you go ahead and do what you do best, build awesome web applications. | ||
|
||
* Extensions : every thing you need is one step away from your hands, just put the extension in the extension folder then import it in your code, and you can create your own extensions and module in a minitues | ||
|
||
* Query - codeHive has new way to query, you can use normal sql way or our own Special NoSql method, its even work with mysql, its smart way to use sql as noSql. | ||
-------------------------------------------------------------------------------- | ||
|
||
codeHive is a lightweight web Application Development Framework with expressive elegant syntax. codeHive gives you an MVC structure allowing you to concentrate on the fun stuff while building web applications. | ||
|
||
codeHive is tiny in code and huge in thought. Being lightweight and simple is fundamental to codeHive. | ||
|
||
### Why should you use codeHive | ||
## Core values | ||
- `MVC` - The MVC pattern, or Model View Controller, is at the heart of codeHive applications. It ensures your application is modular, name-spaced and doesn't descend into a mess of view and model logic by having a consistent architecture. It's great for teams, and brings a well needed structure to PHP development. | ||
- `Modular` ... | ||
- `Simplicity` - codeHive is a minimum possible viable product. It doesn't dictate you it way of programming, you can chose how to play with code in many ways, even your way, It is a huge framework consisting of different kinds of widgets and modules. The goal is to get things out of your way, letting you go ahead and do what you do best, build awesome web applications. | ||
- `Extensions` : every thing you need is one step away from your hands, just put the extension in the extension folder then import it in your code, and you can create your own extensions and module in a minutes | ||
- `Query` - codeHive has new way to query, you can use normal sql way or our own Special NoSql method, its even work with mysql, its smart way to use sql as noSql. | ||
|
||
## Why should you use codeHive | ||
`PHP frameworks are a dime a dozen, and more are appearing everyday. So what makes codeHive so special?` | ||
|
||
|
||
* Built in a real-world environment | ||
* Tiny foorprint in CPU and Memory | ||
* Great performance | ||
* Smart debugger | ||
* Simple and lightweight | ||
* Minimal dependencies | ||
* Very Approachable Source Code | ||
* Great documentation | ||
* and the most imporatnt thing, its OpenSource | ||
|
||
|
||
|
||
## Official Documentation | ||
|
||
- Built in a real-world environment | ||
- Tiny foorprint in CPU and Memory | ||
- Great performance | ||
- Smart debugger | ||
- Simple and lightweight | ||
- Minimal dependencies | ||
- Very Approachable Source Code | ||
- Great documentation | ||
- and the most imporatnt thing, its OpenSource | ||
|
||
# Official Documentation | ||
Documentation for the framework can be found on the [Purecis website](http://codehive.purecis.com/docs). | ||
|
||
or you can build it by your self using spinix after you checkout the code and for API documentation use APIGen to Generate new api documentation by using : | ||
|
||
apigen generate -s system -d api --template-theme "bootstrap" | ||
|
||
|
||
## Contributing | ||
|
||
# Contributing | ||
Thank you for considering contributing to the codeHive framework! The contribution guide can be found in the [codeHive documentation](http://codehive.purecis.com/docs/contributions). | ||
|
||
### License | ||
|
||
Copyright (c) 2004 - 2015, Purecis, Inc. | ||
All rights reserved. | ||
## License | ||
Copyright (c) 2013 - 2015, Purecis, Inc. All rights reserved. | ||
|
||
The codeHive framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,28 @@ | ||
<?php | ||
/** | ||
* Purecis codeHive Class | ||
* codeHive Excute File. | ||
* | ||
* bootstrap class | ||
* | ||
* @package codeHive | ||
* @subpackage Core | ||
* @category Libraries | ||
* @author Purecis Dev Team | ||
* @copyright Copyright (c) 2004 - 2015, Purecis, Inc. | ||
* @copyright Copyright (c) 2013 - 2016, Purecis, Inc. | ||
* @license http://purecis.com/license | ||
* | ||
* @link http://purecis.com | ||
* @since Version 2.0 | ||
* @filesource | ||
*/ | ||
|
||
session_start(); | ||
|
||
include "system/core/codeHive.php"; | ||
include 'system/core/codeHive.php'; | ||
|
||
codeHive::start(array( | ||
'app' => 'sample', | ||
|
||
$start = array( | ||
"app" => "apps/sample", | ||
"assets" => "assets", | ||
"system" => "system" | ||
); | ||
// define folders | ||
'container' => "apps", | ||
'assets' => 'assets', | ||
'system' => 'system', | ||
)); | ||
|
||
codeHive::start($start); | ||
|
||
/* End of file index.php */ | ||
/* Location: ./index.php */ | ||
/* Location: ./index.php */ |
Oops, something went wrong.