New Project
I've started a new project after getting tired of grinding through practice questions. Endless problem questions has resulted in me losing interest and just not keeping up practice.
I wanted to build a project in Java with Servlets and JSP, but its been a while since ive used those technologies and didnt have the patience to read a book before starting. I was itching to get started on something. So I decided to use PHP and relearn as i go since it's alot easier.
Not having much of a clue what to build I settled on re-implementing a uni project for Web Applications class. This was a auction app where users can auction of jobs that trades people can bid on, Similar to Hi Pages. This was built in PHP in a group project and hosted on AWS, I hoped to do the same only better. Initially had had high expectations of using AJAX and keeping the front end and back ends separate. It didn't turn out so easy and will talk here about my learnings.
Initially i started out planning as i should but quickly got bored and gave up. A few weeks later i started again but this time jumping straight in. The first step i did was creating a home page that used AJAX to fetch and display auctions. I built a page with BootStrap and and created a php file with stub code to send back JSON file to display. What i learnt here was that AJAX isn't as straight forward as I thought and reconfirmed i'm terrible at Front end despite building a half decent interface. I'm sure it's far from best practice but it works for now. This is where i realised i was not going to be able to do the whole app in AJAX at least not the next parts.
Next stage was login and session management, I built out login and log out pages and implemented dummy code to authenticate then redirect or display an error. This was fairly easy after some initial experimentation.
And thats where i'm out now, my code so far can be found here. next i will look into the database, queries and PHP to tie together the parts i've done so far. I will aim to make updates as i go but see how it goes.
I wanted to build a project in Java with Servlets and JSP, but its been a while since ive used those technologies and didnt have the patience to read a book before starting. I was itching to get started on something. So I decided to use PHP and relearn as i go since it's alot easier.
Not having much of a clue what to build I settled on re-implementing a uni project for Web Applications class. This was a auction app where users can auction of jobs that trades people can bid on, Similar to Hi Pages. This was built in PHP in a group project and hosted on AWS, I hoped to do the same only better. Initially had had high expectations of using AJAX and keeping the front end and back ends separate. It didn't turn out so easy and will talk here about my learnings.
Initially i started out planning as i should but quickly got bored and gave up. A few weeks later i started again but this time jumping straight in. The first step i did was creating a home page that used AJAX to fetch and display auctions. I built a page with BootStrap and and created a php file with stub code to send back JSON file to display. What i learnt here was that AJAX isn't as straight forward as I thought and reconfirmed i'm terrible at Front end despite building a half decent interface. I'm sure it's far from best practice but it works for now. This is where i realised i was not going to be able to do the whole app in AJAX at least not the next parts.
Next stage was login and session management, I built out login and log out pages and implemented dummy code to authenticate then redirect or display an error. This was fairly easy after some initial experimentation.
And thats where i'm out now, my code so far can be found here. next i will look into the database, queries and PHP to tie together the parts i've done so far. I will aim to make updates as i go but see how it goes.
Comments
Post a Comment