AOP learning resources [closed] - aop

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm new to AOP and I was wondering if there is a good reasorce out there that would help me understand where I can use AOP in my projects.
I work mainly in C# but I'm looking for tutorials about practical AOP and not a specific tool (i.e. PostSharp or other) - I'm looking for common practices/patterns (not tools) and usage examples in any language - not just C#/.NET

So far AOP is tied to frameworks, so you should read the documentation of the AOP framework rather then general approach.
But we can specify three common types of AOP:
pre code injection (in the code file) [code generators that work pior the pre compilation]
runtime code injection (inject, swamp pointers, in memory) [spring?, my own framework]
post code injection [postSharp]
most resources can be found here: "http://csharp-source.net/open-source/aspect-oriented-frameworks"
The most common use is a plugin architecture, logging, caching as well as some domain specific AOP like setting some specific properties on a object that is in a certain domain and state from AOP so that the dev doesn't care about it, other than that presistance layers can use AOP to generate SQL command objects etc.
The thing in AOP is that you need to have a good understanding how the system works if you want to go beyond the common things like Logging, many junior devs don't get AOP so I would be careful with using it in a domain specific way, this will work fine if you are in a strong dev team that has lots of experience with AOP.
EDIT: Here is an good tutorial to spring AOP, Spring is a huge beast, but once you learn it it works very well, the only downside is xml configuration rather then fluent one.

Related

Suggestion for test case managment tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
First off, please forgive me if this has been answered before. I did do a search before posting but the results that came back were not really satisfying. This is question is a "last resort" type of thing, to point us to the right direction, if at all possible.
My team and I have been looking for a good test case management tool. So far we have been using Zephyr, but we find it to be quite bloated and a tad complicated for what we believe we need.
What we need the tool with the following features.
Integration with Jira
Good reporting capabilities (much like Zephyr).
Support for agile teams.
Support for multiple projects over multiple iterations.
Nice, clean and intuitive interface
Some things to consider:
We have rejected Jira as a test management tool because we feel handling multiple projects with it would be a real pain
We have also rejected Zephyr for Jira, pretty much for the same reasons, and because of our current experience with Zephyr.
Would it possible for you to recommend any tool that satisfies the above features?
Thank you in advance!
Why don't you take a look at PractiTest?
I am biased because I work for them, but on the other hand the system provides all the things you mentioned above that you are looking for (simple to use, good integration with Jira, supports Agile teams, etc) and some additional features and things that make the life of the average tester easier and overall better.
You can sign up to one of the public demos that run once or twice a week from the site. And after the demo you can choose to work with PractiTest for free for a couple of weeks as part of the 2-week free evaluation license.
As you said, testing and test management should not be complex and over-bloated...
-joel
Try APTEST (product of Atlassian). With APTEST integration with JIRA is made simpler. It connect tests and test results to issues in JIRA. For more details check the following link APTEST - JIRA Integration

Abstract machine for Java bytecode [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I was wondering if anyone is familiar with an abstract machine that is capable of executing Java bytecode. Note I'm looking for something I can extend, and by abstract machine, I don't mean the JVM, as I need to specify the semantics.
Specifically, I am looking for a way to keep track of what is going to be on the stack at a given point of time, without actually having to simulate all the instructions by myself. Does anyone know of a good framework for this?
Consider looking at the MLJVM project. I've never really looked at the internals, but it appears to be a JVM implementation produced in such a way that one could potentially extend or experiment with the semantics.
It might be somewhat stale, and implements only a subset of the JVM, but I assume if you're really looking at experimenting with semantics you're unlikely to want the whole JVM.
Alternatively, the Jikes Research Virtual Machine is often a nice starting point. The lines between "VM" and "Abstract Machine" start to blur at some point, and I suspect Jikes is close to that line, wherever it may be.

How can I learn Mirah? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
With Mirah, I am refering to the JVM language: http://www.mirah.org/
The only useful documentation available online are the examples. I understand it says it has a ruby-like syntax, but I do believe there are Mirah-specific quirks to it.
How would I go on identifying the various syntax quirks? Will learning Ruby itself suffice in learning Mirah?
Thanks!
If you know Java pretty well, you can start off by thinking of Mirah as Java with some funny syntax and type inference. You don't need to know Ruby's semantics to use Mirah, because Mirah uses Java's semantics for the most part.
There aren't really any tutorials about learning the language yet because the language is still changing and evolving.
Once you start trying to look at Mirah's internals, you'll want to beef up on your Ruby though, because most of Mirah is currently implemented in Ruby, JRuby in particular. If you have any questions about JRuby, the #jruby IRC channel has helpful people in it-- #mirah works too, but there are fewer regulars at the moment.
No, I don't think that learning Ruby will be sufficient for learning Mirah, although it would probably be sufficient to get started. As I understand it, the syntax is fairly similar but isn't identical - Mirah has optional type annotations and doesn't allow metaprogramming. Still, they're probably sufficiently similar that it would help.
However, the best way to learn any language is just to try something in it - write a little app, and learn as you go.

Progress 4GL code analysis tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I know the community around Progress 4GL is highly lacking in activity, but the people on SO are a surprisingly resourceful bunch of guys!
I'm looking for a tool that is capable of creating a dependency tree for classes, include files, and other structures in Progress 4GL. Ideally it would have a command line interface so that it can be integrated into an automated build.
I would like to avoid rolling my own if I can help it. We have a 4Mloc code base, so a manually-generated dependency graph just won't work out very well. Is there any hope?
Thanks!
There is a very active community, but you need to know where to look. :)
See http://www.joanju.com/ for several tools which might be useful.
BravePoint might have some resources, but probably not free.
Also http://www.oehive.org/
I believe the free 10-year-old app below will do some of what you require, but was written for legacy Progress versions (ie. it will only recognize direct old-fashioned RUNs and includes, I think). As for rolling your own, or getting a start, it was written in c++ and the author may still have the source code if you email him...
Here's the link to the app
The Progress community can be found at various places in addition to the above (eg. Peg.com, ProgressTalk.com, PSDN.com, etc.), is relatively minute, but is hardly inactive.
My xref->TT tool can take apart xref strings from the COMPILE XREF statement and turns it into a set of temp-tables. You could then take that the temp-tables and use them to populate a database, after which I'm sure you'll post your code back to the community so others can take advantage of it. :)
I stopped working on it around ~2008, so it pre-dates the OOABL structures.
See http://communities.progress.com/pcom/docs/DOC-16588

Is there a good tool for documenting/monitoring System Tests? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking for a tool to design, document, and monitor System Tests for a product.
The basics of what I need are:
1) A tool that can represent some kind of Inheritance between tests (i.e., one test which sets up another or somesuch).
2) A tool that will allow me to monitor specific runs of the tests seperately, per version (i.e., for version 1.1 of the product, we ran these specific tests from all the tests that are documented).
3) A tool which will allow some kind of freeform "tagging" of tests (i.e., I can group the same test into several groups: Regression tests, functionality test, ui test... one test can be all three at once).
4) Optional - The tool will allow me to run "automatic tests" scripts (automated using an automation system developed in-house, so it has to allow lots of ways to tie-in to it).
One tool I found that might work is: http://trac-hacks.org/wiki/TestCaseManagementPlugin
It has the added benefit of working with Trac, which we are starting to use for bug tracking/missiong tracking. If anyone can recommend (or give a good reason not to use it), it would also be much appreciated.
Thanks
TestLink is a nice open source tool for system test management; it's widely used, under active development and has Trac integration. It should do most of what you need.