Comments (5)
my idea (for now) was to keep chash a one-file script to make it easy to just downlad-and-execute. IS there any way to do that for the console element? (bundle it inside the same file)
from chash.
As far as I know is not possible to do it in one file.
from chash.
One question: If we add a code in chash that code will only exist in the chash.php file (In order to work in all chamilo installation) right?
So for example in task #2 we have to write the code twice if we want that functionality in a Chamilo portal (web UI).
from chash.
In fact we can do it using phars files, we can write our code in different files then you can "compress" all PHP files into a single file something like "chash.phar", then you can execute the file.
Composer works like that!
See: http://phpmaster.com/packaging-your-apps-with-phar/
or
http://www.slideboom.com/presentations/26182/PHP-5.3-Part-3---Introducing-PHAR
from chash.
Creando un archivo phar funciona muy bien
from chash.
Related Issues (20)
- Add e-mail sending testing command HOT 1
- Add plugins feature
- Remove "unsigned" int tables HOT 1
- Fix Courses Index HOT 1
- Add command to transform courses/*/index.php in 1.9.*
- Add command like Drush's release-notes
- clean_temp_folder launches exception HOT 1
- getSysPath() returns empty on 1.9.8 portals HOT 3
- institution_url param in chamilo_install command is used as root_web
- Add aliases/shortcuts to db:sql_cli and files:clean_temp_folder
- 1.10.0 install command is broken HOT 6
- Add filter by course category to clean_deleted_documents
- Add database port to install command
- Add bcrypt support to change_pass command HOT 1
- chash:chamilo_wipe don't clean app/upload and
- When DB password contains "(", chash dbc returns error
- Is chash ready for vchamilo shell upgrade ? HOT 8
- Chash doesn't "compile" with PHP 7.0 HOT 2
- Chash Install Errors
- PHP Fatal error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chash.