Browse Source

removed unnecessary files and added benchmark_config.json

Sanjoy Dey 10 years ago
parent
commit
6ed2f73da9
69 changed files with 50 additions and 742 deletions
  1. 0 0
      frameworks/PHP/cygnite-php-framework/.gitignore
  2. 0 0
      frameworks/PHP/cygnite-php-framework/.htaccess
  3. 1 0
      frameworks/PHP/cygnite-php-framework/.travis.yml
  4. 0 0
      frameworks/PHP/cygnite-php-framework/LICENSE
  5. 0 0
      frameworks/PHP/cygnite-php-framework/README.md
  6. 0 0
      frameworks/PHP/cygnite-php-framework/apps/.htaccess
  7. 0 0
      frameworks/PHP/cygnite-php-framework/apps/components/authentication/.gitkeep
  8. 0 0
      frameworks/PHP/cygnite-php-framework/apps/components/form/.gitkeep
  9. 0 0
      frameworks/PHP/cygnite-php-framework/apps/configs/application.php
  10. 0 0
      frameworks/PHP/cygnite-php-framework/apps/configs/autoload.php
  11. 0 0
      frameworks/PHP/cygnite-php-framework/apps/configs/database.php
  12. 0 0
      frameworks/PHP/cygnite-php-framework/apps/configs/definitions/DefinitionManager.php
  13. 0 0
      frameworks/PHP/cygnite-php-framework/apps/configs/migration.php
  14. 0 0
      frameworks/PHP/cygnite-php-framework/apps/configs/services.php
  15. 0 0
      frameworks/PHP/cygnite-php-framework/apps/configs/session.php
  16. 1 0
      frameworks/PHP/cygnite-php-framework/apps/controllers/BenchController.php
  17. 0 0
      frameworks/PHP/cygnite-php-framework/apps/controllers/HomeController.php
  18. 0 0
      frameworks/PHP/cygnite-php-framework/apps/database/.gitkeep
  19. 0 0
      frameworks/PHP/cygnite-php-framework/apps/database/migrations/.gitkeep
  20. 0 0
      frameworks/PHP/cygnite-php-framework/apps/extensions/.gitkeep
  21. 0 0
      frameworks/PHP/cygnite-php-framework/apps/languages/english/.gitkeep
  22. 0 0
      frameworks/PHP/cygnite-php-framework/apps/models/Fortune.php
  23. 0 0
      frameworks/PHP/cygnite-php-framework/apps/models/World.php
  24. 0 0
      frameworks/PHP/cygnite-php-framework/apps/modules/admin/Controllers/.gitkeep
  25. 0 0
      frameworks/PHP/cygnite-php-framework/apps/modules/admin/Models/.gitkeep
  26. 0 0
      frameworks/PHP/cygnite-php-framework/apps/modules/admin/Views/.gitkeep
  27. 0 0
      frameworks/PHP/cygnite-php-framework/apps/routerconfig.php
  28. 0 0
      frameworks/PHP/cygnite-php-framework/apps/routes.php
  29. 0 0
      frameworks/PHP/cygnite-php-framework/apps/services/Payment/.gitkeep
  30. 0 0
      frameworks/PHP/cygnite-php-framework/apps/temp/cache/.gitkeep
  31. 0 0
      frameworks/PHP/cygnite-php-framework/apps/temp/database/.gitkeep
  32. 0 0
      frameworks/PHP/cygnite-php-framework/apps/temp/logs/.gitkeep
  33. 0 0
      frameworks/PHP/cygnite-php-framework/apps/temp/sessions/.gitkeep
  34. 0 0
      frameworks/PHP/cygnite-php-framework/apps/temp/twig/tmp/cache/.gitkeep
  35. 0 0
      frameworks/PHP/cygnite-php-framework/apps/views/bench/fortunes.view.php
  36. 0 0
      frameworks/PHP/cygnite-php-framework/apps/views/home/welcome.view.php
  37. 0 0
      frameworks/PHP/cygnite-php-framework/apps/views/layout/home.view.php
  38. 0 0
      frameworks/PHP/cygnite-php-framework/assets/css/.gitkeep
  39. 0 0
      frameworks/PHP/cygnite-php-framework/assets/img/.gitkeep
  40. 0 0
      frameworks/PHP/cygnite-php-framework/assets/img/cygnite/favicon.ico
  41. 0 0
      frameworks/PHP/cygnite-php-framework/assets/img/cygnite/fevicon.png
  42. 0 0
      frameworks/PHP/cygnite-php-framework/assets/js/.gitkeep
  43. 44 0
      frameworks/PHP/cygnite-php-framework/benchmark_config.json
  44. 0 0
      frameworks/PHP/cygnite-php-framework/boot/initialize.php
  45. 0 0
      frameworks/PHP/cygnite-php-framework/boot/start.php
  46. 0 0
      frameworks/PHP/cygnite-php-framework/composer.json
  47. 2 2
      frameworks/PHP/cygnite-php-framework/deploy/cygnite-php-framework
  48. 1 1
      frameworks/PHP/cygnite-php-framework/deploy/nginx.conf
  49. 0 0
      frameworks/PHP/cygnite-php-framework/index.php
  50. 0 0
      frameworks/PHP/cygnite-php-framework/install.sh
  51. 1 1
      frameworks/PHP/cygnite-php-framework/setup.sh
  52. 0 36
      frameworks/PHP/php-cygnite/apps/database/migrations.sql
  53. 0 77
      frameworks/PHP/php-cygnite/apps/database/migrations/20150322204858_product.php
  54. 0 92
      frameworks/PHP/php-cygnite/apps/views/layout/base.view.php
  55. 0 98
      frameworks/PHP/php-cygnite/apps/views/layout/main/base.html.twig
  56. 0 26
      frameworks/PHP/php-cygnite/apps/views/layout/widget/navbar.view.php
  57. 0 182
      frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/datatables-bootstrap.css
  58. BIN
      frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/border.png
  59. BIN
      frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/controls.png
  60. BIN
      frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/loading.gif
  61. BIN
      frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/loading_background.png
  62. BIN
      frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/overlay.png
  63. 0 49
      frameworks/PHP/php-cygnite/assets/css/cygnite/colorbox.css
  64. 0 78
      frameworks/PHP/php-cygnite/assets/css/cygnite/flash.css
  65. 0 10
      frameworks/PHP/php-cygnite/assets/css/cygnite/style.css
  66. 0 58
      frameworks/PHP/php-cygnite/assets/css/cygnite/table.css
  67. BIN
      frameworks/PHP/php-cygnite/assets/css/cygnite/tr_back.gif
  68. 0 2
      frameworks/PHP/php-cygnite/assets/css/cygnite/wysihtml5/bootstrap-wysihtml5.css
  69. 0 30
      frameworks/PHP/php-cygnite/assets/css/cygnite/wysihtml5/prettify.css

+ 0 - 0
frameworks/PHP/php-cygnite/.gitignore → frameworks/PHP/cygnite-php-framework/.gitignore


+ 0 - 0
frameworks/PHP/php-cygnite/.htaccess → frameworks/PHP/cygnite-php-framework/.htaccess


+ 1 - 0
frameworks/PHP/php-cygnite/.travis.yml → frameworks/PHP/cygnite-php-framework/.travis.yml

@@ -2,6 +2,7 @@ language: php
 
 php:
   - 5.4
+  - 5.5
 
 before_script:
   - "composer install"

+ 0 - 0
frameworks/PHP/php-cygnite/LICENSE → frameworks/PHP/cygnite-php-framework/LICENSE


+ 0 - 0
frameworks/PHP/php-cygnite/README.md → frameworks/PHP/cygnite-php-framework/README.md


+ 0 - 0
frameworks/PHP/php-cygnite/apps/.htaccess → frameworks/PHP/cygnite-php-framework/apps/.htaccess


+ 0 - 0
frameworks/PHP/php-cygnite/apps/components/authentication/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/components/authentication/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/components/form/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/components/form/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/configs/application.php → frameworks/PHP/cygnite-php-framework/apps/configs/application.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/configs/autoload.php → frameworks/PHP/cygnite-php-framework/apps/configs/autoload.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/configs/database.php → frameworks/PHP/cygnite-php-framework/apps/configs/database.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/configs/definitions/DefinitionManager.php → frameworks/PHP/cygnite-php-framework/apps/configs/definitions/DefinitionManager.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/configs/migration.php → frameworks/PHP/cygnite-php-framework/apps/configs/migration.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/configs/services.php → frameworks/PHP/cygnite-php-framework/apps/configs/services.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/configs/session.php → frameworks/PHP/cygnite-php-framework/apps/configs/session.php


+ 1 - 0
frameworks/PHP/php-cygnite/apps/controllers/BenchController.php → frameworks/PHP/cygnite-php-framework/apps/controllers/BenchController.php

@@ -37,6 +37,7 @@ class BenchController extends AbstractBaseController
 
     public function fortunesAction()
     {
+        echo "Fortunes";exit;
         $allFortunes = array();
         $allFortunes = Fortune::all();
         $fortunes = $allFortunes->asArray();

+ 0 - 0
frameworks/PHP/php-cygnite/apps/controllers/HomeController.php → frameworks/PHP/cygnite-php-framework/apps/controllers/HomeController.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/extensions/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/database/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/languages/english/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/database/migrations/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/modules/admin/Controllers/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/extensions/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/modules/admin/Models/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/languages/english/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/models/Fortune.php → frameworks/PHP/cygnite-php-framework/apps/models/Fortune.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/models/World.php → frameworks/PHP/cygnite-php-framework/apps/models/World.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/modules/admin/Views/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/modules/admin/Controllers/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/services/Payment/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/modules/admin/Models/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/temp/cache/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/modules/admin/Views/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/routerconfig.php → frameworks/PHP/cygnite-php-framework/apps/routerconfig.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/routes.php → frameworks/PHP/cygnite-php-framework/apps/routes.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/temp/database/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/services/Payment/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/temp/logs/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/temp/cache/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/temp/sessions/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/temp/database/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/temp/twig/tmp/cache/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/temp/logs/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/assets/css/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/temp/sessions/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/assets/img/.gitkeep → frameworks/PHP/cygnite-php-framework/apps/temp/twig/tmp/cache/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/apps/views/bench/fortunes.view.php → frameworks/PHP/cygnite-php-framework/apps/views/bench/fortunes.view.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/views/home/welcome.view.php → frameworks/PHP/cygnite-php-framework/apps/views/home/welcome.view.php


+ 0 - 0
frameworks/PHP/php-cygnite/apps/views/layout/home.view.php → frameworks/PHP/cygnite-php-framework/apps/views/layout/home.view.php


+ 0 - 0
frameworks/PHP/php-cygnite/assets/js/.gitkeep → frameworks/PHP/cygnite-php-framework/assets/css/.gitkeep


+ 0 - 0
frameworks/PHP/cygnite-php-framework/assets/img/.gitkeep


+ 0 - 0
frameworks/PHP/php-cygnite/assets/img/cygnite/favicon.ico → frameworks/PHP/cygnite-php-framework/assets/img/cygnite/favicon.ico


+ 0 - 0
frameworks/PHP/php-cygnite/assets/img/cygnite/fevicon.png → frameworks/PHP/cygnite-php-framework/assets/img/cygnite/fevicon.png


+ 0 - 0
frameworks/PHP/cygnite-php-framework/assets/js/.gitkeep


+ 44 - 0
frameworks/PHP/cygnite-php-framework/benchmark_config.json

@@ -0,0 +1,44 @@
+{
+  "framework": "cygnite-php-framework",
+  "tests": [{
+    "default": {
+      "setup_file": "setup",
+      "json_url": "/index.php/json",
+      "plaintext_url": "/index.php/plaintext",
+      "port": 8080,
+      "approach": "Realistic",
+      "classification": "Fullstack",
+      "database": "None",
+      "framework": "cygnite",
+      "language": "PHP",
+      "orm": "Raw",
+      "platform": "PHP-FPM",
+      "webserver": "nginx",
+      "os": "Linux",
+      "database_os": "Linux",
+      "display_name": "cygnite",
+      "notes": "",
+      "versus": "php"
+    },
+    "raw": {
+      "setup_file": "setup",
+      "db_url": "/index.php/bench/db",
+      "query_url": "/index.php/bench/db/",
+      "fortune_url": "/index.php/fortunes",
+      "port": 8080,
+      "approach": "Realistic",
+      "classification": "Fullstack",
+      "database": "MySQL",
+      "framework": "cygnite",
+      "language": "PHP",
+      "orm": "Raw",
+      "platform": "PHP-FPM",
+      "webserver": "nginx",
+      "os": "Linux",
+      "database_os": "Linux",
+      "display_name": "cygnite",
+      "notes": "",
+      "versus": "php"
+    }
+  }]
+}

+ 0 - 0
frameworks/PHP/php-cygnite/boot/initialize.php → frameworks/PHP/cygnite-php-framework/boot/initialize.php


+ 0 - 0
frameworks/PHP/php-cygnite/boot/start.php → frameworks/PHP/cygnite-php-framework/boot/start.php


+ 0 - 0
frameworks/PHP/php-cygnite/composer.json → frameworks/PHP/cygnite-php-framework/composer.json


+ 2 - 2
frameworks/PHP/php-cygnite/deploy/php-cygnite → frameworks/PHP/cygnite-php-framework/deploy/cygnite-php-framework

@@ -1,6 +1,6 @@
 <VirtualHost *:8080>
-  Alias /php-cygnite/ "/home/ubuntu/FrameworkBenchmarks/php-cygnite/"
-  <Directory /home/ubuntu/FrameworkBenchmarks/php-cygnite>
+  Alias /cygnite-php-framework/ "/home/ubuntu/FrameworkBenchmarks/cygnite-php-framework/"
+  <Directory /home/ubuntu/FrameworkBenchmarks/cygnite-php-framework>
           Options Indexes FollowSymLinks MultiViews
           #AllowOverride None
           Order allow,deny

+ 1 - 1
frameworks/PHP/php-cygnite/deploy/nginx.conf → frameworks/PHP/cygnite-php-framework/deploy/nginx.conf

@@ -66,7 +66,7 @@ http {
         #    proxy_pass   http://127.0.0.1;
         #}
 
-        root /home/ubuntu/FrameworkBenchmarks/php-cygnite/;
+        root /home/ubuntu/FrameworkBenchmarks/cygnite-php-framework/;
         index  index.php;
 
         location / {

+ 0 - 0
frameworks/PHP/php-cygnite/index.php → frameworks/PHP/cygnite-php-framework/index.php


+ 0 - 0
frameworks/PHP/php-cygnite/install.sh → frameworks/PHP/cygnite-php-framework/install.sh


+ 1 - 1
frameworks/PHP/php-cygnite/setup.sh → frameworks/PHP/cygnite-php-framework/setup.sh

@@ -6,7 +6,7 @@ export PHP_FPM=${PHP_HOME}/sbin/php-fpm
 export NGINX_HOME=${IROOT}/nginx
 
 sed -i 's|127.0.0.1|'"${DBHOST}"'|g' apps/configs/database.php
-sed -i 's|root .*/FrameworkBenchmarks/php-cygnite|root '"${TROOT}"'|g' deploy/nginx.conf
+sed -i 's|root .*/FrameworkBenchmarks/cygnite-php-framework|root '"${TROOT}"'|g' deploy/nginx.conf
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
 
 export PATH="${PHP_HOME}/bin:${PHP_HOME}/sbin:$PATH"

+ 0 - 36
frameworks/PHP/php-cygnite/apps/database/migrations.sql

@@ -1,36 +0,0 @@
--- phpMyAdmin SQL Dump
--- version 4.1.14
--- http://www.phpmyadmin.net
---
--- Host: 127.0.0.1
--- Generation Time: Sep 14, 2014 at 11:52 AM
--- Server version: 5.6.17
--- PHP Version: 5.5.12
-
-SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
-SET time_zone = "+00:00";
-
---
--- Database: `cygnite`
---
-
--- --------------------------------------------------------
-
---
--- Table structure for table `migrations`
---
-
-CREATE TABLE IF NOT EXISTS `migrations` (
-  `id` int(11) NOT NULL AUTO_INCREMENT,
-  `migration` varchar(255) NOT NULL,
-  `version` int(11) NOT NULL,
-  `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
-  PRIMARY KEY (`id`)
-) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
-
---
--- Dumping data for table `migrations`
---
-
-INSERT INTO `migrations` (`id`, `migration`, `version`, `created_at`) VALUES
-(1, '20140914145654_shopping_product', 0, '2014-09-14 15:19:27');

+ 0 - 77
frameworks/PHP/php-cygnite/apps/database/migrations/20150322204858_product.php

@@ -1,77 +0,0 @@
-<?php 
-
-use Cygnite\Database\Migration;
-use Cygnite\Database\Schema;
-
-/**
-* This file is generated by Cygnite Migration Command
-* You may use up and down method to create migration
-*/
-
-class Product extends Migration
-{
-
-    protected $database = 'cygnite';
-	/**
-	 * Run the migrations up.
-	 *
-	 * @return void
-	 */
-	public function up()
-	{
-		//Your schema to migrate
-        Schema::instance(
-            $this,
-            function ($table) {
-                $table->tableName = 'product';
-                $table->create(
-                    array(
-                        array('name'=> 'id', 'type' => 'int', 'length' => 11,
-                            'increment' => true, 'key' => 'primary'),
-                        array('name'=> 'product_name', 'type' => 'string', 'length' =>100),
-                        array('name'=> 'category', 'type' => 'string', 'length' =>150),
-                        array('name'=> 'description', 'type' => 'string', 'length'  =>255),
-                        array('name'=> 'validity', 'type' => 'date', 'length'  =>'0000-00-00'),
-                        array('name'=> 'price', 'type' => 'decimal', 'length'  =>'10,2'),
-                        array('name'=> 'created_at', 'type' => 'datetime','length'  =>"DEFAULT '0000-00-00 00:00:00'"),
-                        array('name'=> 'updated_at','type' => 'datetime','length'  =>"DEFAULT '0000-00-00 00:00:00'"),
-                    ),
-                    'InnoDB',
-                    'latin1'
-                )->run();
-            }
-        );
-
-        $data = array(
-            'product_name' => 'Apple Iphone 6',
-            'category' => 'Electronic',
-            'description' => 'Hugely powerful. Enormously efficient.',
-            'validity' => '2018-08-30',
-            'price' => '950.00',
-            'created_at' => date( 'Y-m-d H:i:s'),
-            'updated_at' => date( 'Y-m-d H:i:s'),
-
-        );
-
-        $this->insert('product', $data);
-
-    }
-
-	/**
-	 * Revert back your migrations.
-	 *
-	 * @return void
-	 */
-	public function down()
-	{
-        $this->delete('product', '1'); // delete last seeded data
-		 //Roll back your changes done by up method.
-        Schema::instance(
-            $this,
-            function ($table) {
-                $table->tableName = 'product';
-                $table->drop()->run();
-            }
-        );
-	}
-}// End of the Migration

+ 0 - 92
frameworks/PHP/php-cygnite/apps/views/layout/base.view.php

@@ -1,92 +0,0 @@
-<?php
-use Cygnite\Mvc\View\Widget;
-use Cygnite\AssetManager\Asset;
-use Cygnite\Common\UrlManager\Url;
-use Cygnite\Foundation\Application;
-use Cygnite\AssetManager\AssetCollection;
-
-$asset = AssetCollection::make(function ($asset)
-{
-    // group of stylesheets
-    $asset->add('style', array('path' => 'assets/css/bootstrap/css/bootstrap.min.css'))
-        ->add('style', array('path' => 'assets/css/bootstrap/css/bootstrap-theme.min.css'))
-        ->add('style', array('path' => 'assets/css/cygnite/bootstrap/datatables-bootstrap.css'))
-        ->add('style', array('path' => 'assets/css/cygnite/flash.css'))
-        ->add('style', array('path' => 'assets/css/cygnite/wysihtml5/prettify.css'))
-        ->add('style', array('path' => 'assets/css/cygnite/wysihtml5/bootstrap-wysihtml5.css'));
-
-    // Group of scripts
-    $asset->add('script', array('path' => 'assets/js/cygnite/jquery/1.10.1/jquery.min.js'))
-        ->add('script', array('path' => 'assets/js/twitter/bootstrap/js/bootstrap.min.js'))
-        ->add('script', array('path' => 'assets/js/dataTables/jquery.dataTables.min.js'))
-        ->add('script', array('path' => 'assets/js/dataTables/datatables-bootstrap.js'))
-        ->add('script', array('path' => 'assets/js/dataTables/datatables.fnReloadAjax.js'))
-        ->add('script', array('path' => 'assets/js/dataTables/prettify.js'));
-
-    return $asset;
-});
-?>
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-
-    <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <link rel="shortcut icon" href="<?php echo Url::getBase(); ?>assets/img/cygnite/fevicon.png" > </link>
-
-    <title><?php echo $this->title; ?></title>
-    <meta name="keywords" content="CRUD Application" />
-    <meta name="author" content="Cygnite Framework Bootstrap Starter Site." />
-    <!-- Google will often use this as its description of your page/site. Make it good. -->
-    <meta name="description" content="Cygnite CRUD Generator." />
-    <!--  Mobile Viewport Fix -->
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-
-    <?php $asset->dump('style');// Header Style block ?>
-    <style>
-        body {
-            padding: 60px 0;
-        }
-    </style>
-    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
-    <!--[if lt IE 9]>
-    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
-    <![endif]-->
-</head>
-<body>
-
-<!-- Fluid Container -->
-<div class='container'>
-
-    <!-- Navbar -->
-    <?php echo Widget::make('layout:widget:navbar'); ?>
-    <!-- ./ Navbar -->
-
-    <!-- Content -->
-    <?php echo $yield; ?>
-    <!-- ./ Content -->
-
-    <!-- Footer -->
-    <footer class="clearfix"></footer>
-    <!-- ./ Footer -->
-
-</div>
-<!-- ./ Container End -->
-<?php
-//Script block. Scripts will render here
-$asset->dump('script');
-?>
-
-<script type="text/javascript">
-    $(function () {
-        $('#dataGrid').DataTable();
-    });
-</script>
-
-<style type="text/css">
-    .navbar-inverse {background: none repeat scroll 0 0 #07508f!important;}
-</style>
-
-</body>
-</html>

+ 0 - 98
frameworks/PHP/php-cygnite/apps/views/layout/main/base.html.twig

@@ -1,98 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<meta charset="UTF-8">
-<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
-<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-
-<title>{% block title %} {% endblock %}</title>
-
-<meta name="keywords" content="Cygnite Framework Base Twig Layout" />
-<meta name="author" content="Cygnite Framework Bootstrap Starter Site." />
-<!-- Google will often use this as its description of your page/site. Make it good. -->
-<meta name="description" content="Cygnite Bootstrap Layout." />
-<!--  Mobile Viewport Fix -->
-<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-
-{% block head %}
-    <link rel="stylesheet" href="{{ baseUrl() }}/assets/css/bootstrap/css/bootstrap.min.css" >
-    <link rel="stylesheet" href="{{ baseUrl() }}/assets/css/bootstrap/css/bootstrap-theme.min.css" >
-    <link rel="stylesheet" href="{{ baseUrl() }}/assets/css/cygnite/bootstrap/datatables-bootstrap.css" >
-    <link rel="stylesheet" href="{{ baseUrl() }}/assets/css/cygnite/flash.css" >
-    <link rel="stylesheet" href="{{ baseUrl() }}/assets/css/cygnite/wysihtml5/prettify.css" >
-    <link rel="stylesheet" href="{{ baseUrl() }}/assets/css/cygnite/wysihtml5/bootstrap-wysihtml5.css" >
-{% endblock %}
-
-<style type="text/css"> body { padding: 60px 0; } </style>
-<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
-<!--[if lt IE 9]>
-<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
-<![endif]-->
-
-</head>
-<body>
-
-{% block header %}{% endblock %}
-
-<!-- Fluid Container -->
-<div class='container'>
-
-    <!-- Navbar -->
-    <div class="navbar navbar-default navbar-inverse navbar-fixed-top">
-        <div class="container">
-            <div class="navbar-header">
-                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
-                    <span class="sr-only">Toggle navigation</span>
-                    <span class="icon-bar"></span>
-                    <span class="icon-bar"></span>
-                    <span class="icon-bar"></span>
-                </button>
-            </div>
-            <div class="collapse navbar-collapse navbar-ex1-collapse">
-
-                <ul class="nav navbar-nav">
-                    <li><a href="{{ baseUrl() }}"><span class="glyphicon glyphicon-home"></span> Home</a></li>
-                </ul>
-
-                <ul class="nav navbar-nav pull-right">
-                    <!-- Right side menu -->
-                </ul>
-            </div>
-        </div>
-    </div>
-    <!-- ./ navbar -->
-    <!-- ./ Navbar -->
-
-    <!-- Content -->
-    {% block content   %}{% endblock %}
-    <!-- ./ Content -->
-
-    <!-- Footer -->
-    <footer class="clearfix">
-        {% block footer %}{% endblock %}
-    </footer>
-    <!-- ./ Footer -->
-
-</div>
-<!-- ./ Container End -->
-
-{% block javascripts %}
-
-    <script type="text/javascript" src="{{ baseUrl() }}/assets/js/cygnite/jquery/1.10.1/jquery.min.js"></script>
-    <script type="text/javascript" src="{{ baseUrl() }}/assets/js/twitter/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript" src="{{ baseUrl() }}/assets/js/dataTables/jquery.dataTables.min.js"></script>
-    <script type="text/javascript" src="{{ baseUrl() }}/assets/js/dataTables/datatables-bootstrap.js"></script>
-    <script type="text/javascript" src="{{ baseUrl() }}/assets/js/dataTables/datatables.fnReloadAjax.js"></script>
-    <script type="text/javascript" src="{{ baseUrl() }}/assets/js/dataTables/prettify.js"></script>
-
-    <script type="text/javascript">
-        $(function () {
-            $('#dataGrid').DataTable();
-        });
-    </script>
-    <style type="text/css">
-        .navbar-inverse {background: none repeat scroll 0 0 #07508f!important;}
-    </style>
-
-{% endblock %}
-</body>
-</html>

+ 0 - 26
frameworks/PHP/php-cygnite/apps/views/layout/widget/navbar.view.php

@@ -1,26 +0,0 @@
-<?php use Cygnite\Common\UrlManager\Url; ?>
-<div class="navbar navbar-default navbar-inverse navbar-fixed-top">
-    <div class="container">
-        <div class="navbar-header">
-            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
-                <span class="sr-only">Toggle navigation</span>
-                <span class="icon-bar"></span>
-                <span class="icon-bar"></span>
-                <span class="icon-bar"></span>
-            </button>
-        </div>
-        <div class="collapse navbar-collapse navbar-ex1-collapse">
-
-            <ul class="nav navbar-nav">
-                <li><a href="<?php echo Url::getBase(); ?>"><span class="glyphicon glyphicon-home"></span> Home</a></li>
-            </ul>
-
-            <ul class="nav navbar-nav pull-right">
-                <!-- Right side menu -->
-            </ul>
-        </div>
-    </div>
-</div>
-<!-- ./ navbar -->
-
-<div style="padding-top: 6%;"></div>

+ 0 - 182
frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/datatables-bootstrap.css

@@ -1,182 +0,0 @@
-/*!
- * Datatables CSS for Bootstrap
- *
- */
-
-div.dataTables_length label {
-	float: left;
-	text-align: left;
-}
-
-div.dataTables_length select {
-	width: 75px;
-}
-
-div.dataTables_filter label {
-	float: right;
-}
-
-div.dataTables_info {
-	padding-top: 8px;
-}
-
-div.dataTables_paginate {
-	float: right;
-	margin: 0;
-}
-
-table.table {
-	clear: both;
-	margin-bottom: 6px !important;
-	max-width: none !important;
-}
-
-table.table thead .sorting,
-table.table thead .sorting_asc,
-table.table thead .sorting_desc,
-table.table thead .sorting_asc_disabled,
-table.table thead .sorting_desc_disabled {
-	cursor: pointer;
-	*cursor: hand;
-}
-
-table.table thead .sorting { background: url('../img/datatables/sort_both.png') no-repeat center right; }
-table.table thead .sorting_asc { background: url('../img/datatables/sort_asc.png') no-repeat center right; }
-table.table thead .sorting_desc { background: url('../img/datatables/sort_desc.png') no-repeat center right; }
-
-table.table thead .sorting_asc_disabled { background: url('../img/datatables/sort_asc_disabled.png') no-repeat center right; }
-table.table thead .sorting_desc_disabled { background: url('../img/datatables/sort_desc_disabled.png') no-repeat center right; }
-
-table.dataTable th:active {
-	outline: none;
-}
-
-/* Scrolling */
-div.dataTables_scrollHead table {
-	margin-bottom: 0 !important;
-	border-bottom-left-radius: 0;
-	border-bottom-right-radius: 0;
-}
-
-div.dataTables_scrollHead table thead tr:last-child th:first-child,
-div.dataTables_scrollHead table thead tr:last-child td:first-child {
-	border-bottom-left-radius: 0 !important;
-	border-bottom-right-radius: 0 !important;
-}
-
-div.dataTables_scrollBody table {
-	border-top: none;
-	margin-bottom: 0 !important;
-}
-
-div.dataTables_scrollBody tbody tr:first-child th,
-div.dataTables_scrollBody tbody tr:first-child td {
-	border-top: none;
-}
-
-div.dataTables_scrollFoot table {
-	border-top: none;
-}
-
-
-
-
-/*
- * TableTools styles
- */
-.table tbody tr.active td,
-.table tbody tr.active th {
-	background-color: #08C;
-	color: white;
-}
-
-.table tbody tr.active:hover td,
-.table tbody tr.active:hover th {
-	background-color: #0075b0 !important;
-}
-
-.table-striped tbody tr.active:nth-child(odd) td,
-.table-striped tbody tr.active:nth-child(odd) th {
-	background-color: #017ebc;
-}
-
-table.DTTT_selectable tbody tr {
-	cursor: pointer;
-	*cursor: hand;
-}
-
-div.DTTT .btn {
-	color: #333 !important;
-	font-size: 12px;
-}
-
-div.DTTT .btn:hover {
-	text-decoration: none !important;
-}
-
-
-ul.DTTT_dropdown.dropdown-menu a {
-	color: #333 !important; /* needed only when demo_page.css is included */
-}
-
-ul.DTTT_dropdown.dropdown-menu li:hover a {
-	background-color: #0088cc;
-	color: white !important;
-}
-
-/* TableTools information display */
-div.DTTT_print_info.modal {
-	height: 150px;
-	margin-top: -75px;
-	text-align: center;
-}
-
-div.DTTT_print_info h6 {
-	font-weight: normal;
-	font-size: 28px;
-	line-height: 28px;
-	margin: 1em;
-}
-
-div.DTTT_print_info p {
-	font-size: 14px;
-	line-height: 20px;
-}
-
-
-
-/*
- * FixedColumns styles
- */
-div.DTFC_LeftHeadWrapper table,
-div.DTFC_LeftFootWrapper table,
-table.DTFC_Cloned tr.even {
-	background-color: white;
-}
-
-div.DTFC_LeftHeadWrapper table {
-	margin-bottom: 0 !important;
-	border-top-right-radius: 0 !important;
-	border-bottom-left-radius: 0 !important;
-	border-bottom-right-radius: 0 !important;
-}
-
-div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
-div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
-	border-bottom-left-radius: 0 !important;
-	border-bottom-right-radius: 0 !important;
-}
-
-div.DTFC_LeftBodyWrapper table {
-	border-top: none;
-	margin-bottom: 0 !important;
-}
-
-div.DTFC_LeftBodyWrapper tbody tr:first-child th,
-div.DTFC_LeftBodyWrapper tbody tr:first-child td {
-	border-top: none;
-}
-
-div.DTFC_LeftFootWrapper table {
-	border-top: none;
-}

BIN
frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/border.png


BIN
frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/controls.png


BIN
frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/loading.gif


BIN
frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/loading_background.png


BIN
frameworks/PHP/php-cygnite/assets/css/cygnite/bootstrap/images/overlay.png


+ 0 - 49
frameworks/PHP/php-cygnite/assets/css/cygnite/colorbox.css

@@ -1,49 +0,0 @@
-/*
-    Colorbox Core Style:
-    The following CSS is consistent between example themes and should not be altered.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative;}
-#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
-.cboxIframe{width:100%; height:100%; display:block; border:0;}
-#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
-
-/*
-    User Style:
-    Change the following styles to modify the appearance of Colorbox.  They are
-    ordered & tabbed in a way that represents the nesting of the generated HTML.
-*/
-#cboxOverlay{background:#fff;}
-#colorbox{outline:0;}
-    #cboxContent{margin-top:32px; overflow:visible; background:#000;}
-        .cboxIframe{background:#fff;}
-        #cboxError{padding:50px; border:1px solid #ccc;}
-        #cboxLoadedContent{background:#000; padding:1px;}
-        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
-        #cboxLoadingOverlay{background:#000;}
-        #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
-        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
-
-        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
-        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;}
-
-        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
-        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
-
-        #cboxPrevious{background-position:0px 0px; right:44px;}
-        #cboxPrevious:hover{background-position:0px -25px;}
-        #cboxNext{background-position:-25px 0px; right:22px;}
-        #cboxNext:hover{background-position:-25px -25px;}
-        #cboxClose{background-position:-50px 0px; right:0;}
-        #cboxClose:hover{background-position:-50px -25px;}
-        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
-        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
-        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
-        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
-        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}

+ 0 - 78
frameworks/PHP/php-cygnite/assets/css/cygnite/flash.css

@@ -1,78 +0,0 @@
-/*
- * Cygnite Flash CSS
- * http://www.cygniteframework.com
- *
- * Copyright 2013, Sanjoy Dey
- * Licensed under the MIT
- * http://www.cygniteframework.com
- * Date: May 2013
- *
- */
-.flashmessage {
-    width: 100%;
-    -moz-border-radius: 4px;
-    border-radius: 4px;
-    display: block;
-    clear: both;
-    margin: 10px auto;
-    padding: 10px 0
-}
-
-.flashmessage a.closeFlash {
-    display: none;
-    width: 16px;
-    height: 16px;
-    float: right;
-    background: url(../../img/cygnite/close.png) no-repeat;
-    margin: -14px -8px 0 0
-}
-
-.flashmessage p {
-    font-size: 14px;
-    line-height: 16px;
-    margin: 3px 0 3px 10px !important;
-    padding: 0 10px 0 23px !important
-}
-
-.flashmessage.error {
-    border: 1px solid #C42608;
-    color: #c00 !important;
-    background: #FFF0EF
-}
-
-.flashmessage.error p {
-    background: url(../../img/cygnite/cross.png) no-repeat 0 50%;
-    color: #c00 !important
-}
-
-.flashmessage.success {
-    background: #E0FBCC;
-    border: 1px solid #6DC70C
-}
-
-.flashmessage.success p {
-    background: url(../../img/cygnite/tick.png) no-repeat 0 50%;
-    color: #2B6301 !important
-}
-
-.flashmessage.warning {
-    background: #FFFCD3;
-    border: 1px solid #EBCD41;
-    color: #000
-}
-
-.flashmessage.warning p {
-    background: url(../../img/cygnite/warning.png) no-repeat 0 50%;
-    color: #5F4E01
-}
-
-.flashmessage.info {
-    background: #DFEBFB;
-    border: 1px solid #82AEE7
-}
-
-.flashmessage.info p {
-    background: url(../../img/cygnite/help.png) no-repeat 0 50%;
-    color: #064393
-}
-

File diff suppressed because it is too large
+ 0 - 10
frameworks/PHP/php-cygnite/assets/css/cygnite/style.css


+ 0 - 58
frameworks/PHP/php-cygnite/assets/css/cygnite/table.css

@@ -1,58 +0,0 @@
-/* general styles */
-
-table, td{
-	font:100% Arial, Helvetica, sans-serif; 
-}
-table{width:100%;border-collapse:collapse;margin:1em 0;}
-th, td{text-align:left;padding:.5em;border:1px solid #fff;}
-th{background:#328aa4 url(tr_back.gif) repeat-x;color:#fff;}
-td{background:#e5f1f4;}
-
-tr.even td{background:#e5f1f4;}
-tr.odd td{background:#f8fbfc;}
-
-th.over, tr.even th.over, tr.odd th.over{background:#4a98af;}
-th.down, tr.even th.down, tr.odd th.down{background:#bce774;}
-th.selected, tr.even th.selected, tr.odd th.selected{}
-
-td.over, tr.even td.over, tr.odd td.over{background:#ecfbd4;}
-td.down, tr.even td.down, tr.odd td.down{background:#bce774;color:#fff;}
-td.selected, tr.even td.selected, tr.odd td.selected{background:#bce774;color:#555;}
-
-/* use this if you want to apply different styleing to empty table cells*/
-td.empty, tr.odd td.empty, tr.even td.empty{background:#fff;}
-
-.btn {
-display: inline-block;
-padding: 6px 12px;
-margin-bottom: 0;
-font-size: 14px;
-font-weight: normal;
-line-height: 1.428571429;
-text-align: center;
-white-space: nowrap;
-vertical-align: middle;
-cursor: pointer;
-border: 1px solid transparent;
-border-radius: 4px;
--webkit-user-select: none;
--moz-user-select: none;
--ms-user-select: none;
--o-user-select: none;
-user-select: none;
-font-weight: bold;
-}
-.btn.primary {
-    color: #ffffff;
-    background-color: #339bb9;
-    background-repeat: repeat-x;
-}
-
-.btn.danger, .alert-message.danger, .btn.error, .alert-message.error {
-    background-color: #c43c35;
-    background-repeat: repeat-x;
-    color:#FFFFFF;
-    background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
-    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
-    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
-}

BIN
frameworks/PHP/php-cygnite/assets/css/cygnite/tr_back.gif


File diff suppressed because it is too large
+ 0 - 2
frameworks/PHP/php-cygnite/assets/css/cygnite/wysihtml5/bootstrap-wysihtml5.css


+ 0 - 30
frameworks/PHP/php-cygnite/assets/css/cygnite/wysihtml5/prettify.css

@@ -1,30 +0,0 @@
-.com { color: #93a1a1; }
-.lit { color: #195f91; }
-.pun, .opn, .clo { color: #93a1a1; }
-.fun { color: #dc322f; }
-.str, .atv { color: #D14; }
-.kwd, .linenums .tag { color: #1e347b; }
-.typ, .atn, .dec, .var { color: teal; }
-.pln { color: #48484c; }
-
-.prettyprint {
-  padding: 8px;
-  background-color: #f7f7f9;
-  border: 1px solid #e1e1e8;
-}
-.prettyprint.linenums {
-  -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
-     -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
-          box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
-}
-
-/* Specify class=linenums on a pre to get line numbering */
-ol.linenums {
-  margin: 0 0 0 33px; /* IE indents via margin-left */
-} 
-ol.linenums li {
-  padding-left: 12px;
-  color: #bebec5;
-  line-height: 18px;
-  text-shadow: 0 1px 0 #fff;
-}

Some files were not shown because too many files changed in this diff