Coder Social home page Coder Social logo

fr0z3nfyr / cakephp-cakedesktop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stefanvangastel/cakephp-cakedesktop

0.0 2.0 0.0 59.48 MB

Download full CakePHP webapplication as Windows desktop application.

License: MIT License

PHP 100.00%

cakephp-cakedesktop's Introduction

CakePHP-Cakedesktop

Table of Contents
## Intro

Download a complete CakePHP webapplication as a full standalone Windows (XP, 7 or 8) desktop application. Configure the packaged application to your needs before creating it using the simple webinterface. The aim is to supply a pure PHP application packager, therefore no shellscripts or exec() functions are used.

Some key features:

  • Generated applications settings are customizable via webinterface
  • MySQL database is converted to local Sqlite database
  • Loaded Php extensions on webserver are also loaded in generated applications php.ini (if available) for maximized compatibility
  • Plugin assets (js and css) are also used correctly. You application will look, feel and work extactly like you webapplication.
  • Webserver REMOTE_USER spoof option. If you run the dekstop application on a Windows system with a domain user logged in, the application can set that user as the REMOTE_USER. This is very nice if your applications authentication is based on this server variable. (e.g. Kerberos or LDAP auth)

This plugin is in development. Some things like the MySQL to Sqlite database conversion may need work.

The awesome phpdesktop project is used to provide the standalone Windows enviroment. The Chrome-driven variant is used for this plugin.

## Requirements
  • CakePHP >= 2.3
  • php-sqlite3 extension
  • MySQL datasource for current webapplication (More datasource support comming)
  • Plugin assets are included

The packaged application is running a Mongoose webserver, PHP 5.4 and uses Chromium (Chromium Emebeded Framework) to view the app. Read more about this on the phpdesktop website. Currently using the 5.4 version to keep Windows XP compatible.

## Installation and Setup
  1. Check out a copy of the Cakedesktop CakePHP plugin from the repository using Git :

    git clone http://github.com/stefanvangastel/CakePHP-Cakedesktop.git

    or download the archive from Github:

    https://github.com/stefanvangastel/CakePHP-Cakedesktop/archive/master.zip

    You must place the Cakedesktop CakePHP plugin within your CakePHP 2.x app/Plugin directory.

    or load it with composer:

    "stefanvangastel/cakedesktop": "dev-master"

  2. Make sure app/Plugin/Cakedesktop/tmp is writable by the webserver user.

  3. Load the plugin in app/Config/bootstrap.php:

    CakePlugin::load('Cakedesktop');

## Usage

Open http(s)://yourapp.com/cakedesktop/ and create your application!

The application is served as a zip file containing all the stuff you need to run your application. Extract the contents and run the .exe file provided.

cakephp-cakedesktop's People

Contributors

stefanvangastel avatar

Watchers

 avatar  avatar

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.