svandragt / cuttlefish Goto Github PK
View Code? Open in Web Editor NEWHackable web framework (wip)
Home Page: https://vandragt.com/tag/cuttlefish
License: MIT License
Hackable web framework (wip)
Home Page: https://vandragt.com/tag/cuttlefish
License: MIT License
Run code through PHPstorm static analyser and code formatter.
Not exciting enough for 2018
Make the following example sites to show off capabilities:
The application folder is an implementation of the system framework
Not yet implemented:
Showing last X posts on frontpage. (currently lists all posts, not even chronically correct)
see web config.
Less code is better code. Probably Twig.
Functions should be pure and any classes required should be passed in.
Carbon autoloader causes issues, replace with composer's
example: https://travis-ci.org/svandragt/carbon/jobs/193662268
setup tooling to allow testing.
Used to work. Needed for security.
Redirects will be needed sometime
should be trivial to add smartypants for "curly braces" and solid dashes.
slim? worth it?
Mac!
will have to store the images in /contents/images or with the posts hmm
would be nice :P
Use composers.
Currently, pages become static after their first request. Would want to be able to generate the whole site so that I can keep the PHP locally and deploy just the static pages.
best practice and also we don't want a default password.
Read password from environment, and if empty then don't allow admin.
Not convinced. Flexibility is nice. However the implementation has to be simple
[Sun Jan 22 02:05:49 2017] ::1:54196 [404]: /images/carbon/logo.png - No such file or directory
Dust off the weird incantations.
How can I link to the individual page if I can't extract its title.
Elapsed time surely can't be less then a milisecond, when Chrome says it takes 2 to 3 for a cache miss request.
Once its back on track
should be trivial to add smartypants for "curly braces" and solid dashes.
Goals are:
Rename this something less generic
noone will use a project with broken screenshots.
Like the above says I copied all files over to my localhost (Uwamp), and when I access http://localhost/carbon/public/ the page I get is http://localhost. Any tips?
I'm planning to use phpDocumentor 2 to generate documentation and annotate the code appropriately.
Outdated
Instances that are reused outwidth the function should be instantiated outside the class.
Code such as $this->Environment = new Environment(); which is then later referenced is too complex to think about.
Caching code is too dense and complex.
Before deploying make a new full cache. call .\carbon.ps1 generate
generate function should read the password out of the configuration file and then make an authorized POST request., which generates the cahe.
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.