Building the Code Scanner Using ColdBox/Transfer
Let’s get started on a new project. I’d like to turn the code scanner tool into a full-blown Coldbox application with Transfer doin’ the dirty work for us. Since we already have an existing application, we have our requirements already defined. I’ll go over them again here so we’ll be clear about what we need. This is a simplified version because I’m tired, and I, well, don’t feel like typing much more tonight.
The code scanner will allow users to:
1. Login to a restriced admin area. The existing application does not have security built-in, but I’d like to implement it in the new one so I can learn more about those interceptors.
2. Manage their regular expression library. The properties of a regular expression item will be defined as we go. This is not the point of my project.
3. Run scans on directories or specific files.
4. View reports of a particular scan
5. See a break down of each item in the report. This includes line number, flagged code, suggestions, etc.
We’ll use Coldbox to develop our app. We’ll try to adhere to OO principles, and ask questions along the way to help make sure we stay on track.
Transfer will handle our database interactions. Look for more posts coming this week as we lay out our database schema and figure out how all this will come together. Yes I’ll make mistakes along the way, but that’s how we learn, right?
No comments yet
Leave a reply