|
|
Menu
NewsAugust 18, 2008Posted a quick preview of the upcoming changes in RC2. August 13, 2008Back from travel, and working on RC2. A lot of changes are planned, see roadmap August 1, 2008Roadmap changed: RC2 planned |
Aspyct: Give a new aspect to your Python !What is Aspyct ?Aspyct is a library that allows you to use aspect
oriented programming with Python (version 2.5 or more required). These aspects may help doing a lot and miscellaneous things.
It is easy to enable Aspyct in your project or on your machine. Simply add the library file (Aspyct.py) to project, or run installer for your computer. More information about enabling Aspyct What is Aspect Oriented Programming ?AOP is the 'next gen' programming way. The evolution it brings to software building is similar to object oriented programming, it is just the next step.AOP helps you programming faster and easier The best way to tell you what it is is giving you some links. Wikipedia has a good summary of it. Why should I use Aspyct ?There are several Python AOP modules. You may wonder why use Aspyct and not another one.Here are the main reasons for it:
(Very) Easy to useAspyct is really easy to use.#1 Define your function:def sayHello(): print('Hello World !') #2 Define your advice:def advice(): print('Get ready to say hello !') #3 Apply advice to the functionAspyct.beforeCall(sayHello, advice) #4 Call your functionsayHello() You're done !Output will beGet ready to say hello ! Hello World !Of course, this is a basic operation. Have a look at our documentation for further reading. Getting startedHave a look at our quick start tutorial LicenseAspyct is available under the terms of GNU/LGPL license. |
|
Copyright ©2008 Aspyct project. Aspyct is available under the terms of GNU/LGPL License. We recommend using Firefox Page created with Bluefish |
|