Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Notification Architecture in perl

New User

Sep 21, 2015, 11:58 AM

Views: 12880
Notification Architecture in perl

I'm new here and this is my first post here..
I am searching for perl code example or any architecture idea to develop "Notification Manager".

The goal is to develop any .pl or .pm that will get any event and will decide (by DB tables of course):

1) What message to send by the priority.
2) Who to send(1 contact name or distribution list).
3) Sending by working hours of each contact (his shift hours)
4) Each notification can be send by: SMS,Email,Both.

This is my first "big" project that my boss gave me.

Thank you guys for your help in advance.

Veteran / Moderator

Sep 22, 2015, 7:21 AM

Views: 12861
Re: [FishMan] Notification Architecture in perl

Your description is too general and vague to point you to any code examples and searching for code examples at this point is not going to be helpful. In fact it will make it harder for you to meet your goal.

Your starting point should be to write a detailed flowchart of the logic flow of the application. The more detailed you make the flowchart, the easier it will be to write the code. The flowchart does not need to, nor should it, include any actual code. It's a step-by-step layout of how the application flows/functions. After the flowchart is written, then start writing the code step-by-step based on your flowchart.

In almost all cases, the application requirements you receive will be very general and vague. So, as you're building the flowchart, have your boss review it to make sure you both have the same understanding of the requirements and make sure you ask for clarifications if you're unsure of any of the details.

When you get stuck, post your code and a specific question on the part that is giving you trouble.