-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the pure wiki!
Pure is a javascript framework used to build object-oriented platform in javascript.
I learned how to use javascipt few years ago and sought to use it effectively.
In my opinion, javascript is so flexible that programmers feel confused to use it in order to solve some problems in the right way. Thus, we often build frameworks to solve each specific case. But when building this frameworks I do not aim to resolve a particular problem, I just focus on understanding the nature of language.
I think the most interesting feature of javascript is the concept of "context". It can help one function be able to run in many different environments. By using Context, we can hold back an action and make it execute when a condition is matched or a signal is being transmitted. I wrote some useful classes such as EVentHandle, Callback, Task, TaskQueue, Delegate, Trigger, ect. based on this concept.
I also built a DOM objects mantle called gObject (gui object). We can declare the dimension for these objects to align them and their child objects when the size of browser changes. Take a look at the examples for further usage.