kennethkoontz / mold Goto Github PK
View Code? Open in Web Editor NEWWeb framework using node.js
Home Page: http://kennethkoontz.github.com/mold/
Web framework using node.js
Home Page: http://kennethkoontz.github.com/mold/
Mold parsed a form that has a title and description as:
{ '{"title":"first title","description":"Second description."}': '' }
This is incorrect. It should parse the form as:
{"title":"first title","description":"Second description."}
Mold parsed a form that has a title and description as:
{ '{"title":"first title","description":"Second description."}': '' }
This is incorrect. It should parse the form as:
{"title":"first title","description":"Second description."}
I don't want to have to parse the cookie in the action. Just seems like it is in the wrong place to write a cookie parser. How about adding it to the request object?
Right now, mold routing doesn't parse the url for parameters. It takes a static string and maps that directly to a single action. It would be useful to parse the url and extract the parameters, passing it into an action.
So we could do something like.
in routes.js:
'/foo/:id': 'foo'
in actions.js:
foo: function() {
this.params['id'] // returns value of 'id' in params object.
}
[info] GET 200 /static/bootstrap/img/glyphicons-halflings.png
[info] GET 200 /projects
[info] GET 200 /static/bootstrap/img/glyphicons-halflings-white.png
[info] GET 200 /static/bookmarklet/bookmarklet.js
At this point /static/bookmarklet/bookmarklet.js doesn't exist. Should NOT be getting a 200 response code
I think I introduced this regression when changing a fs.watch to a fs.watchFile.
Right now the only image type that we allow in static is .png. Let's add .jpg.
Right now actions.js might get confused with users declaring actions. Rename this to something that won't be confusing.
Mold parsed a form that has a title and description as:
{ '{"title":"first title","description":"Second description."}': '' }
This is incorrect. It should parse the form as:
{"title":"first title","description":"Second description."}
mold starts on 8000 and doesn't give the user the ability to change it. They should be able to.
"Resource interpreted as Image but transferred with MIME type text/png" is what I get when I transfer a .png. This shows up in the Chrome Console.
mold needs a process that watches the app directory and checks for changes in any files below it. It might be beneficial to just use a library that already does this. nodemon, supervisor come to mind.
Also we want to be able to restart the server if there is an exception.
The server is returning a 'text/undefined' on requests for a css file. It should be returning 'text/css'. This is probably happening due to some incorrect regex matching.
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.