Leveraging on WResources

I continued to move all storage related actions to the back-end. The idea is to have a clear separation of front-end (consisting of widgets and callbacks) and back-end (handling of requests). When a complete model is built, the building blocks can be easily replicated and altered to cater for other Read more…

Back-end Caching

Caching So.. this week I focused more on building the file caching mechanism that fully uses the server’s back-end. I am using a write-back approach to handle the caching process. Initially, a fresh copy of the project will be downloaded and stored in local cache. The file will be sent Read more…

More Improvements

More on cURLpp I talked about cURLpp in my last post. There’s much more to it than just uploading files to Google Drive endpoints. A few things I discovered is :- curlpp::infos This allows certain response info to be obtained directly. There are a list of info obtained, which can Read more…

Adopting cURLpp

So.. I was using system() to perform CURL requests in my application. There were a few downsides to this:- Error handling of response. Messy codes. My boss talked about using the cURLpp library to replace the existing system() curl mechanism. So this week I tried my hand on it in Read more…

Software Test

Software test is all about breaking the application, which can be hard sometimes when there is an emotional attachment. My colleague Peter and previous interns working on the project have done a great job and their code is working fine. For my part, i need to make sure p3muka, the Read more…

New features and Improvements

Browsers compatibility Last week, I found out that a crash occurred when using Mozilla instead of Chromium browser, which was caused by a memory fault. I was passing a variable from one session to another in the application: In chromium, there was no issue as the first session was destroyed Read more…

Wt Auto Configuration

On Monday, my boss stated how important it is for an application to be easily set up, without the need for user to define ports, address and configuration files. Confusion and havoc will ensue when we leave things to the hands of the users. Therefore, an auto-configuration logic would need Read more…

Improving the Code Editor

After two weeks of work absence, I am finally back. This week, I worked together with my colleague Peter to debug the product and also improve on its functions. A weird thing happened although we were using the same codes, which is:- Wt.emit in browser unload event Peter seemed to Read more…