fukiya 0.0.5 copy "fukiya: ^0.0.5" to clipboard
fukiya: ^0.0.5 copied to clipboard

outdatedDart 1 only

A simple framework to improve and simplify the creation of server-side dart applications.

Fukiya #

Simple framework for making dart server applications easier to write. Long way to go, this is very simple. Proper documentation will be written when the library matures a bit more.

For a practicle example, look at fukiya_test.dart in the test directory.

Example usage:

void main() {
  new Fukiya()
    ..get('/', getHandler)
    ..put('/', putHandler)
    ..delete('/', deleteHandler)
    ..post('/', postHandler)
    ..get('/:userid', getDynamicHandler)
    ..staticFiles('./test/static')
    ..use(new FukiyaFormParser())
    ..use(new FukiyaJsonParser())
    ..listen('127.0.0.1', 3333);
}

Changes #

v0.0.5

  • Changed form parser to a State Machine. Works better, and more efficient. Still some edge cases that I am not covering on purpose.
  • Added JSON and File Parsers.
  • Fixed some bugs and other stuff.

v0.0.4

  • Middleware support.
  • Form Parsing. UrlEncoded and MultiPart (MultiPart is very poorly implemented, and hacky, expect bugs.)

v0.0.3

  • Updated for M3. Current changes made it MUCH easier to wrap things and route.
  • Added FukiyaContext that can be used to store Middleware data. More on that in future versions.
  • This release breaks compatibility with anything before M3.

v0.0.2

  • Pattern support in URLs.
  • Fixed Static File Handler.

v0.0.1

  • Initial Release, basic routing worked. Static files broken.

TODOs #

N/A atm

Known Bugs #

N/A

License #

MIT License. See LICENSE file.

0
likes
0
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A simple framework to improve and simplify the creation of server-side dart applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

logging, unittest

More

Packages that depend on fukiya