Working with Seneca

Seneca is a framework that let you work with plug-ins that makes your software scalable.

Installing Seneca

To install Seneca, use npm as follow:

Seneca as module

Now we are going to use Seneca to add and multiply variables:

 

We see that error handle is written and the output is shown as follow:

Seneca does inversion of control

Seneca does not need to know how to build the dependencies or calls to modules. We can see two components as seneca.add and seneca.act:

Let’s run the code to show the greeting to GNOME:

Advertisements

About Julita Inca

Ingeniero de Sistemas UNAC, Magíster en Ciencias de la Computación PUCP, OPW GNOME 2011, Miembro de la GNOME Foundation desde el 2012, Embajadora Fedora Perú desde el 2012, ganadora del scholarship of the Linux Foundation 2012, experiencia como Admin Linux en GMD y Especialista IT en IBM, con certificaciones RHCE, RHCSA, AIX 6.1, AIX 7 Administrator e ITILv3. Experiencia académica en universidades como PUCP, USIL y UNI. HPC researcher, a simple mortal, like you!
This entry was posted in τεχνολογια :: Technology. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s