1.0.6 • Published 7 years ago

pardom v1.0.6

Weekly downloads
2
License
WTFPL
Repository
github
Last release
7 years ago

With ParDom you can

  • Create JavaScript apps that are super fast and light on the memory
  • Easily manage your code as it grows without compromising performance
  • Push side-effects to the edge and keep the most important parts of your code pure.
  • Commit to battle proven software engineering good practices such as: KISS (Keeping It Super Simple) DRY (Don't Repeat Yourself) * YAGNI (You Aren't Gonna Need It).

How does it help you do all that ?

  • ParDom serially processes batches of messages sent by WebWorkers (or similar interfaces)
  • You run your code in its own threads
  • Separate the IO and serialize it in pardom (stuff like DOM reads/writes)
  • It uses requestAnimationFrame as the default timer function
  • Plays well with the "Performance" and "Debugger" tools present in modern browsers

So whats the catch ?

  • You have to define a communication protocol between the workers and pardom * But I am working on a set of beautiful functions that abstract common use cases
  • Experience in writing code and some knowledge of PDU's is required
  • Code is written in ES6, support for Safari is done by transpiling away stuff in dist/pardom.js * No Edge support (it might work though)
  • No sugar added, just plain JavaScript code

Usage

  • Please check the 'examples' folder

ParDom

Just a simple JavaScript message scheduler.

1.0.6

7 years ago

1.0.5

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago