wiredcraft / carcass Goto Github PK
View Code? Open in Web Editor NEWA toolbox for Node.js.
Home Page: http://wiredcraft.com/carcass/
License: MIT License
A toolbox for Node.js.
Home Page: http://wiredcraft.com/carcass/
License: MIT License
Need to add the ability to carcass to log things; eventually allowing to:
Unless argued differently it should be in a separate module, not in carcass core; see carcass-auth for more details.
Properly document the code and include the various required readme to integrate with a regular carcass project.
What do you think about creating a carcass executable which permits to :
Please reassign to the one work on this.
The module carcass-auth
is in this repo for now. The one who's working on this will need the permission.
Details:
passport-github
./auth
and optionally a test application in /test/fixture/applications
to expose some test info.I still don't understand what carcass is and what does it do. Would you please help me out?
Is it basic infrastructure for our future web servers? How should it be used? like in ./fixture? is there any code demonstrating the use cases?
I saw carcass-auth but that doesn't help.
I hope there is some picture or sth describes the carcass architecture.
Is it some kind of middleware? I can't see what they're used for. Are they designed to run separately? since they seem to use separate express objects.
I can't see where are they used.
I can see servers/Http extends constructors/Server, but what about constructors/Server and factories/Express?
Of course factories/Express seems to be a factory but I doubt if they have conflicting responsibilities since I see they both use express internally.
var plugin = this.getApplication(title);
so application is plugin?
Anyway, even I wrote some tests, I'm still totally confused. Sorry for that.
usecase
or something because they are actually use cases.Maybe it can make your life easier if you understand the Express factory. Please do this by building a test for it, in factories.express.mocha.js
.
The test should cover:
args
and options
.Please do this in a new branch (not the same as for the tests).
Currently we have 2 main approach of organizing code: inheritance
and factory
. Application is using factory, server and model are using inheritance. I'd like to rebuild the server to be a factory, which means for example:
Server
is an abstract factory (currently a constructor), returns a concrete factory.http
and https
are concrete factories (currently constructors extended from Server), return server instances.This doesn't make it more flexible, but more strict.
What do you think of this change? And do you think you can do this?
Hi,
Sorry, been out of the loop last few weeks dealing with interviews. Do we have a google group or anything to coordinate those who want to work on Carcass but are not actively working with devo-ps? I'm writing up an example application now to use Carcass, but once I'm done I'd like to ask for feedback outside issues for Carcass itself.
Hi @xufeng123,
Can you input something about "Register" in https://github.com/devo-ps/carcass/wiki/Core? Thanks.
Hi @xeodou,
Can you help me improve carcass.utils.machineName
? The first things:
_.isFunction()
and _.isString()
with typeof
testings and remove underscore from the file.Please send me pull requests. Thanks.
testSession
application to login
, also change the title and debug info./member
and:
model
.memory
storage to store the model.I think we can move the small feather to small module, and use npm to include into carcass
. Sometimes if i just want to use a feather like carcass
in a small module, carcass
is too big for me.
Hi,
I just made some change to the mixin()
function, and realized we don't have enough tests for it; only one in carcass.mocha.js
and a use case in usecase.eventEmitter.mocha.js
.
Please build a new test carcass.mixable.mocha.js
with the following:
Note that some of your tests can fail because there can be bugs. Please also try to fix it.
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.