Posts

Final Year Project (FYP) Ideas

Image
Many students ask for final year project (FYP) idea. Here I share some ideas that may not be noval but carries good enough scope for FYP and quality stuff to learn and excel. These are different from routine FYP ideas e.g. library management, shop management, school management etc.  I am not available to supervise because I am already occupied with my FYP students. You can work on any idea without my permission, under any supervisor or industry professional (as co-supervisor). 1. Sensors and Monitoring App - Internet of Things Recently Internet of Things (IoT) got popularity. Punjab Government is also working on Smart Cities project. Some universities has started offering IoT as an elective course. It sounds good time to get some understanding and hands on experience.  Idea: I have a warehouse, kilometers away from my sale point and home. Second warehouse is in another city. I want to see the live updates of temerature of the warehouse, smoke level, humidity level,...

Classified Management System (AdSys) - Practice Task Detail

Image
Its grand assignment, completion would show you well understand fundamental concepts of web application development. You must have visited olx.com.pk, below assignment of classified management system (AdSys for short) works like olx in general (though limited in functionality). Users shall post ads for others to view. They shall signup, login and update, activate, deactivate and delete ads. Below is the detail of individual feature you shall develop to get full marks. See above image i.e. entity relationship diagram (ERD) of AdSys. Make database in MySQL based on above ERD. (You can download the SQL script of database design, from here ). Import the SQL script into your MySQL database. Below are the features you must implement using PHP, HTML, and CSS. Use Bootstrap wherever applicable. Sign Up (signup.php): When user open singup.php page, show a registration form (see fields from users table). Register the user using post-back approach. The city should be a drop down list (enter any 5...

Introduction to Hadoop

I am new to Apache Hadoop, here are brief notes on my Hadoop and related technologies learning. First, I share the key ideas from Hadoop basics. Life without Hadoop? For computing and storage intensive tasks, single processor or even multi-processor computer is not enough, because it would take long to process millions of tasks on Peta Bytes of data. The cheapest way to improve the performance is utilizing tens or hundreds of computer connected to Local Area Network. But to use computers connected to LAN, we have to write program that would transfer data on them and copy the program on all computers too. Then we need to decide what chunk of records should be processed on which computer on network, that means more programming to manage task distribution. We also have to use socket programming or MPI or RMI or EJBs or DCOM type approaches to make other computers to receive and process the data. Its all doable but its low level programming in a sense thats its not the primary task in-hand...

ACM Inter Collegiate Programming Contest - UMT Lahore

This post is a call for participation for ACM Inter Collegiate Programming Contest which is regional level contest for World Final to be held in the US in May 2017. I would strongly urge you to register your teams before the deadline 16th November 2016. Furthermore, I would request you to please share this message in your circles. This will certainly help us finding the best team of the country to represent us in the world finals. Event: ACM ICPC Venue: UMT, Lahore Registration Deadline: 16th November, 2016 Event First Round: 19th November, 2016 (Online) Event On-site (Pakistan Final): 26-27th November, 2016 World Final in US: May 2017 ------------------------------------------------------------------------------------ ACM-ICPC, the Association of Computer Machinery – International Collegiate Programming Competition, Regional contest i.e. ACM-ICPC Lahore Regional 2...

Problems with Current Style of Education - In Universities

I am teaching for couple of years and I strongly feel about following aspects should be improved. ( Please note, these are my personal opinions and nothing to do with my current employer. No offence intended.) In classroom of mostly private universities, some students are highly motivated to learn and go an extra mile what is taught to them, but teacher waste their energy and time by teaching them same material that is taught to whole class. I strongly believe, 10-15% students in class can learn same stuff in 1 month that a teacher teach them in 5 months. Model sections or video based training may be more beneficial for these motivated folks). First tier universities don't have such issue as because of higher merit that attract same level students or who differ with at lower degree. Same issue hold with students who need to put more energy to absorb the delivered content. Mostly teachers instruct keeping the average student in mind or expect an good enough level of prior understand...

Laravel 5.2 Eloquent Insert Row or Add Record

Introduction to Eloquent Most of applications code is based on Object Oriented Design but the database contains tables and relations and return set of rows instead list of objects. So there is inhereit mismatch between application code and database artifacts. Different Lanaugage provide object relational mapping (ORM) technologies that fill this mismatch gap. Eloquent is ORM that is used by Laravel. Eloquent is used to interact with the database to perform select, insert, update and other database operations. We create model calsses corresponding to every table. Each Model class help in performaing database related operations with associate table. You must know what are migrations and how setup database for Laravel applications to proceed further. Create Model Class By default the model classes are located in 'App' folder. If you see you Laravel application's App folder you will see a User.php file, its already created model class by Laravel. Migration for users table are a...

How to Get Request Data in Laravel 5.2

Image
This post explain how to get request data in routes.php file and in Laravel 5.2 controllers. The request data includes the parameters submitted via URL query string e.g. /search?category=furniture, here category  is parameter name and furniture is parameter value. If a form is submitted via GET or POST, the data that is sent to server is also called request data. In short, request data is data that a request carries. When Laravel framework receive an HTTP request, before transferring request processing to controllers, the framework extract data from request and instantiate an object of type Request , which is Laravel provided class. The Request object contain all the data that HTTP request carries. The Laravel framework passes the object using dependency injection into controller methods. It is passed only if we have expressed our interest by declaring an argument of type Request in controller methods. After receiving the Request object as argument, we can read the parameter ...