ivstefano / 42 Goto Github PK
View Code? Open in Web Editor NEW42 - Experiments
License: MIT License
42 - Experiments
License: MIT License
Make it in such a way that depending on people's needs (for example a REST API, a Small Website, and Enterprice Website) can be chosen and different modules to be installed. Additionally allow for custom selection of modules.
Creating controllers that only wrap logically actions that require the same dependencies.
Mention Eva Zuckerberg for the advice
Since traits add obfuscation to the code, change them to classes that are injected.
Create an installable with the bare minimum so REST API's can be quickly instantiated
When depricating a class, leave the API opened and edit it to call the methods from the new API instead.
Example: V1 -> V2 -> V3 ...
Mention Eva Zuckerberg for the advice
https://github.com/zigivicious/42/blob/master/setup/configs/dev.php
$configurations = [
ConfigurationVariables::DATABASE => function () {
$host = getEnvironmentVar(EnvironmentVariables::DEVELOPMENT_HOST);
$dbName = getEnvironmentVar(EnvironmentVariables::DEVELOPMENT_DBNAME);
$username = getEnvironmentVar(EnvironmentVariables::DEVELOPMENT_USERNAME);
$password = getEnvironmentVar(EnvironmentVariables::DEVELOPMENT_PASSWORD);
return new DBConfig($host, $dbName, $username, $password);
}
]
$injector->delegate('DatabaseConfig', $configuration[ConfigurationVariables::DATABASE]);
Add thanks to Dan Ackerman
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.