AvidCP: Keeping it simple, but real

Take two - AvidCP, an accessible and usable control panel application. So previously , I took a bit of a quick look at the control panel solution i’ve been developing to run here. Tonight’s update focuses on the “Email Services” area of the system.

The Email Services section allows users to easily add mail handling for domains to their account. Further to that they can create domains which redirect to another domain or standard POP/IMAP/SMTP accounts and forwarders. The underlaying base of this is powered by Postfix and Courier-IMAP/POP3 as well as a MySQL database.

The client site implementation makes use of some javascript techniques to hide or show certain parts or features. This reduces the clutter in the layout but still provides full functionality to the user when they place their mouse over a certain item or click a certain check box.

The focus was once again on keeping the design simple and minimalist whilst maintaining the functionality of other control panel scripts. Other control panel scripts make horrible use of tables with hardly any spacing and present all of the information in one huge “chunk”. Not very appealing to look at (Yes Hsphere, I’m primarily talking about you!). My focus here is to try and get the word out to developers that there are much simpler and attractive ways of doing things instead of throwing all of the data on the screen.

Email Domains Overview

After clicking on “Email Services” in the menu you’re presented with a page which lists all of the domains in your account associated with email. It shows you domains which contain mail accounts as well as redirection domains. Placing your mouse over one of the domains (and the section of data below it) will show the various control links for that domain - the delete button in the case of this screenshot.

Email Domains Overview - Showing forwarded option in new domain

At the bottom of the screen there is the “Add a new Domain” form which allows you to either add a new domain or forwarded mail domain. Want a forwarded domain? Check the appropriate check box and the form content turns in to one specifically for creating that (i.e., it adds another text box to enter the domain to redirect to).

Clicking on a domain leads you to another page.

Listing of mailboxes and forwards for a specific domain - shows mailbox type in new mailbox

You’re taken to a page which lists all of the specific mail accounts assigned to that domain. You get an overview of both your standard mail accounts and your forwards.

Once again - icons are used to differentiate between the two different kinds of accounts and the controls (Edit, Delete and Set as catch all) are shown or hidden using javascript depending if the mouse is over that item or not.

Listing of mailboxes and forwards for a specific domain - shows forward type in new mailbox

A form similar to that of the create domain form exists at the bottom of the page allowing you to create new POP/IMAP accounts as well as forwarded accounts. Using a similar javascript based system, checking either “Mailbox” or “Forward” presents two different forms allowing for the different types of input.

Clicking edit on one of the mail accounts or forwards takes you to a page where you can change a few of the options for that mail account - such as the password or redirection address.

Editing an individual mailbox

Now, a bit on the back end of the system. I’ve developed a custom daemon in PHP which stays in memory on the server. This daemon checks the modified time of a certain file - if it has been modified since the last check then the daemon needs to perform some tasks. Tasks are assigned on the front end. An example of a task is the creation of mailboxes on the server (done using a Unix command). The front end stores task information needing to be done in the database and then touches the task to do file updating its modified time stamp.

The server was built in a modular way so that I can easily add new functionality to it by simply dropping a file in a “modules” folder and then storing the appropriate information in the database when I need to run that specific module.

That’s all for this little installment. The next module will either be DNS, Database or Web management.

Comments

  1. 1.

    Matt Light (April 21st, 2006, 6:51 am)

    It is looking really nice, Chris. Its kind of odd how Windows Vista icons can be so appealing next to Mac OS. When are you going to develop your own server software so you can have unlimited custom features? ;)

    By the way, it seems your “Preview” functionality in comments does not want to work if there are not any other comments yet posted.

  2. 2.

    Chris Boulton (April 21st, 2006, 12:17 pm)

    Lightster!. Long time no chat or anything! Develop my own server software? “Neh!” :P
    About the comment previewing - keep meaning to fix it but haven’t yet.

    Thanks for stopping by and we should catch up some time :P

  3. 3.

    Bobby (April 21st, 2006, 12:25 pm)

    VERRRRRRRY NICE! Ditto my first post in Part 1 :D

  4. 4.

    Belloman (April 21st, 2006, 9:50 pm)

    Nice job, not cluttered, very pretty. It really is another “great” product from Chris Boulton :P

  5. 5.

    tikitiki (April 22nd, 2006, 2:13 am)

    How’d you manage to do all this, MyBB, and the rest of your life?

  6. 6.

    .Lou (April 28th, 2006, 12:16 pm)

    Simple, he has a few clones. lol. Nice work. I would be so happy to get a hold of that little beauty! You can’t even imagine.

  7. 7.

    Dennis (May 2nd, 2006, 9:47 am)

    I heard he somehow stops time. I’d like to learn how.

  8. 8.

    Tikitiki (May 2nd, 2006, 11:25 am)

    I’ve done that a few times, but I’ve not been able to for a while unfortunately

  9. 9.

    Musicalmidget (May 4th, 2006, 4:37 am)

    I too would very much like to learn how to stop time.

    Please teach us… :P

  10. 10.

    Sypher (May 9th, 2006, 7:49 pm)

    Wow this looks pretty cool!

    But a small question, how are you counting data traffic per domain?

    (This is because apachelogs are not accurate, if you download 2 mb of an 80mb file it still says you’ve used 80mb)

  11. 11.

    Prashant (May 14th, 2006, 8:02 am)

    That looks really nice, are you planning on releasing it to the public?

  12. 12.

    koko (June 29th, 2006, 11:30 pm)

    Hello Chris,

    I like your Avid-ACP. Where can i download? It free?

    regards,
    koko

Post a Comment

Note: * indicates required fields.