-
Notifications
You must be signed in to change notification settings - Fork 383
Tutorial summary
Now, the basic core features of pinus have been presented before by examples. There are also some functionalities not covered in previous tutorial, and we put them here to make a brief description. At last, we make a summary for this whole tutorial.
Pinus provides a command-line tool to help developers develop more conviently and easily. Since pinus 0.6.0, Username/password is required for authentication while using this tool, its command line format is as follows:
$ pinus [list|stop|kill] [-u <username>] [-p <password>]
pinus-cli provides more powerful capabilities to monitor and mange the server cluster.
Pinus provides a plugin-based extension mechanism, a plugin can contain some related components and a set of event handlers for internal events of pinus, more detail is presented at [plugin reference documentation] (https://github.com/node-pinus/pinus/wiki/plugin).
While developing, a handy IDE may be required. For pinus, [here] (https://github.com/node-pinus/pinus/wiki/Debugging-Pinus-ServerApps-With-WebStorm-IDE) introduces a powerful IDE for javascript.
This tutorial talks shallowly on how to configure server information. You can get more about server configuration in section User Manual.
By the example chat, we start from the initialization of it, and show some features by change it step by step. we just aim to let the developer know how to add a filter, how to add a rpc invocation, how to enable and use protobuf encoding/decoding, how to customize your own component and let pinus load it, how to customize an admin-module, etc.. These features are all pinus core functionalities.
After learning this example, we believe you would have a more detailed understanding of pinus and its functionalities, as well as how to use pinus to develop an application. This example can also be used as a sample application for developers, it basically involves all aspects of pinus.