venturachrisdev / flickerjs Goto Github PK
View Code? Open in Web Editor NEWA Super fast and simple web framework for node.js
Home Page: http://flickerstudio.github.io/flickerjs/
License: Other
A Super fast and simple web framework for node.js
Home Page: http://flickerstudio.github.io/flickerjs/
License: Other
like multer in express
app.js
var express = require('express');
var multer = require('multer')
var app = express();
var upload = multer({ dest: 'myfiles/' });
app.get('/', function(req, res, next){
res.send('<form action="/upload" enctype="multipart/form-data" method="post"><input type="file" name="upfile" id="f" /><input type="submit" value="upload" /></form>');
});
app.post('/upload', upload.single('upfile'), function(req, res, next){
res.send({ret_code: '0'});
});
app.listen(3000);
Set setChild
verify if is an empty list, else call to appendChild
In basic.js middleware add:
res.locals.author = "Flicker.js";
Because in render, the conditional " if author" return false.
Innecesary file oldapplication.js
Change with a regex like: /*\.\w+^/
Mientras tanto, Crear la rama spanish para ir traduciendo el repositorio completamente al español.
The 404.pug file is unnecessary. commit
If is discommented the favicon middleware and favicon.ico isn't in static dir, throw an exception. commit
In res.json() -> should to use JSON.stringify(obj, null, for print two spaces btw vars. commit
create a flicker.log for log the calls to next(err). commit
rename some functions and delete a few of them in order to create most generalists fuctios that her first param is a JSON with the options.
5b) rename app.use to app.go: commit
app.to(
{
method: "GET",
url:"/foo"
},
(req,res,next) => {
next();
}
);
Replacing this:
App.to({ url:'/foo' },middleware)
.to({ url:'/foo' },router)
With:
App.to({ url:'/foo' }, middleware, router)
Sugieran el nombre que mas les guste para la version hispana del framework.
Fork del proyecto --> Aqui
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.