multipart/form-data

I mainly focused on generating a multipart message this week. I was using curl to send a multipart formpost previously. For example, curl -kv -F ‘lang=vlog’ -F ‘[email protected]’ http://127.0.0.4:8080/api/v19/workspace.elaborate was used to transfer data to a server. The request body was shown below. (Note: A boundary was a string of Read more…

Developing back-end

This week I mainly focused on the back-end. In this post I would also like to discuss about some Wt classes since Wt currently lacked community support. First and foremost, I would like to discuss about curl. Since the project did not involve any user interface, I had to use Read more…

Hello

I stepped into AESTE on my first day not knowing what to expect. This was my first internship in the real world and all I was looking for was knowledge, but I gained so much just in one week. On the first day, I was welcomed and greeted by Dr Read more…

The Wt Framework

My week started off with me meeting Dr Shawn at the office. He told me to just learn the git flow workflow just for that day and I did so, and at the same time I tried to get comfortable with my new working environment. The real work started on Read more…

Bug Hunting in Wt

This has been a cool week, not the weather though, because I managed to solve problems instead of creating more. Thanks to Dr. Shawn’s suggestion, I’ve started using valgrind to test my code. It turns out to be such a gem. Not having the proper fundamentals, I didn’t know such Read more…

Automate Bitstream: Part 3

Continued from last week, I finally manage to automate the bitstream generation. Good news that I have also fixed the problem that causes the hanging of the web application. The hanging is mainly caused by the usage of Wt::WApplication::instance()->deferRendering, because¬†freezes the user interface. The doJavaScript() Problem What surprised me this Read more…

Code cleanup and adding features

I have been removing a lot of old JSON stuff which is now replaced with Wt::Dbo. So far, using Wt::Dbo has offered so much of convenience when adding, modifying or querying database objects, as long as you create the Wt::Dbo::Session using your database file. insertWidget at specified positions So I Read more…

C++ Web Development

After spending the last week immersed in Witty and re-writing our application from scratch, twice, I have come to appreciate the capabilities of the tool-kit in helping to develop web applications. It has certainly been both a good and bad experience. Let’s talk about the bad first. The documentation does Read more…