This week, I learned a lot about web design.
I began by learning the basics of HTML and JavaScript. I not only learned what it means to be a client-side language and a server-side one, but the benefits of using one over the other.
For example, my goal was to have a site that displays data provided by another site's API (Canvas). However, I learned that due to Same Origin Policy, this simply isn't possible from the browser, and it's a good thing it isn't due to security reasons.
I now know I'd have to achieve this goal using a server side language to pull data, then include it in my site. The language I have chosen is PHP. At first, I was wondering why simply including PHP code in my site didn't work, and that's how I was introduced to the big world of web servers and databases.
So, in conclusion, I learned web design is incredibly complicated and in order to achieve my goal, I have to first learn how to host a web server and manage a database. Until next time!
No comments:
Post a Comment