Git is such a masterpiece tool that programmers use for collaboration work with others. Use it carefully and it will help you very much. Careful you not will trigger a wildfire in the codes. In our implementation of git workflow and branching, we have faced some problems.
Actually, I don’t know what to write, so let’s just pretend this is a serious problem.
btw, Git 2.13.0 just released by our Savior, Torvalds
Continue reading “Git Workflow & Branching – An Aftermath”
Because platform selection review is mandatory
Rails is an open source web framework build on top of ruby, first released on December 2005. It uses MVC design pattern and emphasize CoC (Convention over Configuration) and DRY (Don’t Repeat Yourself) paradigm. Ruby itself is known as a clear and lean language. So in the ideation phase of this project, when faced with the problem presented to us, we thought that RoR is a suitable solution.
Continue reading “Looking Back to Our Backend”
When developing an applications, developers need a way to save modify and query the data. The application may use the a database management system (DBMS) to store the data but how to modify and retrieve data in the DBMS? DBMS has a set of raw commands to run operations on the system, for example SQL commands. We could use it in raw but it will make the codes look dirty.
Continue reading “Connect to the Data”
In rails, there are basically three ways to store server-side information in the client’s browser:
spoiler alert: they’re all actually just cookies
Continue reading “Rails: Behind the Sessions”
It’s literally only one day after UTS.
My last commit is a typo fix.
Continue reading “Nothing to write”
I just got this thought when trying to write test for a controller yesterday: how exactly did you test a controller?
A controller is a route between model and view. It controls the system behavior given user action. But the validity of the data presented was already tested in the model, and whether the data shows right should be tested in the front end. Continue reading “Test for Control”