I open my eyes, it's getting dark, I switch on my desk light, I quickly glance at the the clock, 9 PM. It's time to start.
Well, I have talked to senior java dev, I have read a lot a article, I have watched to videos, to conference (on the web and in real). I feel ready, confident.
Today, on my computer, I have found an email. I know what to do, I think I know how to do it in big picture ... Now, I have to code it !
I'm a junior java dev, it's been a long time since I am waiting for this time. I will have to prove it and I want to share it with you.
The job :
Not a lot of things to do, quite simple. A few lines in an email.
"We have a CRM application built around Couchbase as a cache and context system. We want us, the support and qualification team,to be able to look at the content of Couchbase in an easy and simple way. Just to check the data stored to be able to validate or understand what's going on."
What I understand :
There is an admin console but it's too dangerous and the q&s team needs something very simple, very user friendly. No administration fonction, no complicate stuff. I will focus on simplicity, ease of use and "funky stuff".
I need to be good on security, the CRM application is dealing with customer data. I need to do some access control to be sure that people is allowed to use the web application.
No time to loose, I need a good architecture to be flexible. I feel need could change ...
Architecture :
I choose a web application to avoid installation, update, ... Easy to acces, easy to connect to, easy to update.
I will have to plug my server on different Couchbase clusters (several clusters exists, depend on which platform). I will obviously need to store some configuration information. I choose for now to use some propertie files. Easy to use, easy to setup but I keep in my mind that I will eventually switch to a database.
I also need something to store my tool datas, I don't know yet what I am going to use. I'm waiting to need it to decide.
Based on a MVC architecture, I will use a client side javascript application which is connected to the server using a ReSTful API. Most of the stuff will be read data acces so I will focus on Get Http request.
first software architecture draw |
View/Client Side :
Based on javascript with HTML5 and CSS3, I'm looking forward a really cool interface and responsive. Not an old fashion one ;) At least, If I don't do a mobile interface, the responsive one will be enough for a simple use.
To start-up quickly, I will use Initializr to have some quick and clean. I'm also happy to have Bootstrap 3, it's a good base for the responsive interface.
As I decided to do a client side application in javascript I have chosen AngularJS to the job. It's a good MVC framework, well designed, easy to use.
Finally to add some funcky stuff, I add also jQuery.
End of the first day :
No IDE, No coding, I'm a quite frustrated but I have an architecture, at least a big picture. No I need, to get all the component and put them together. It's for tomorrow. For now, time to shut the curtain.
I'll see you tomorrow !
No comments :
Post a Comment