Skip to content

A documented adventure of me creating an expanded movie list project using Angular JS, AJAX with an API, and CSS Grid.

Notifications You must be signed in to change notification settings

joshcodegood/movie-emporium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Movie Site!

Movie site project using:


  • AJAX and the Movie Database API

    I personally found the documentation for the API a bit confusing, but fortunately, there is a subsection of the website that allows you to generate the link you would like to use with you AJAX request, which made the process of finding the info I wanted and setting up the AJAX request a lot easier.

    For example, I wanted to update my site to reference the movies that were "Now Playing" rather than use the "Discover" feature, which seems to be the basis for much of the documentation. This took a surprising amount of research, but ultimately this page got me to where I wanted to go.

  • CSS Grid

    Since I first heard about CSS Grid, I have been intrigued. Of course, there are many "grid layout" systems, and I myself learned about Foundation by Zurb at TIY. However, there was a part of me that felt that these systems were overkill for the types of sites that I was developing. I can certainly see their value, but felt they were unneccesarily bloating my code. I have been tinkering with layouts using the newly-minted CSS Grid so thought it would be a fun experiment to use them in a project.

    It may be awhile before they go into real production, but I like how simple they are to setup and that they help me to avoid the mess that things like Foundation can make of your HTML. It keeps layout confined to CSS, which feels more natural to me.

    In any case, I opted to lay out the movies in 3 columns (a change from my inital layout of 2). This immediately presented an issue in that the API returns pages of 20 items. Now I had 6 even rows of three items and 1 row stranded at the bottom with only two items; needless to say, it didn't look right.

    Now, I could have simply loaded another page from the API and used only one movie from the second page, thus keeping my layout consistent, but at the moment, I think it might be kind of a neat experiment to see if I can fix a layout issue in a dynamic environment, or at least find a suitable workaround. We shall see...

  • Design

    Design is not exactly my wheelhouse, but as with many things in life, I feel some guidelines can be useful when approaching a project. I'm paraphrasing of course, but I once read in an interview with Jack White that imposing limitations upon ourselves gives us freedom in that it gives us a box to work in. Without that box, we can feel lost in a desert of potential ideas, which can often result in a type of "analysis paralysis" or "blank page syndrome", at least for me.

    So while I probably can't learn to be an amazing designer in a few hours, I can try to teach myself some basics so that I don't get hung up on design things while creating projects for myself. One style that I've noted is a "flat" design that was popular the last few years, which seems to be characterized by a lack of dimension, bold, "flat" colors, and an emphasis on typography. It's certainly not something I've mastered, but it's a direction to move in and it keeps me from getting too hung up on design details that aren't necessarily the "point" of the project. I hope to learn more over time. One of my "medium-range" goals is to have some full-stack facility as well as an awareness of design, so that I can be somewhat self-sufficient when it comes to web design. No man is an island, but I'd like to be able to play one convincingly in case I need to pretend for awhile.

    • Planned updates:

    • Some sort of background feature to break it up
    • A footer with some info
    • Some transition effects to make the scrolling nicer

About

A documented adventure of me creating an expanded movie list project using Angular JS, AJAX with an API, and CSS Grid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published