Mobile App Update #2

So it's been a very long week with ups and downs and some days were spent solely working on a concept or working out the logic behind getting it to work. I swear these are the days I live for as a programmer. The days when you learn so much it feels like your head is about to burst. Seeing your code become more refined and evolve beyond what you did in college is a marvellous feeling. That said lets talk about what went down this week.

First up, a lot of what I did code wise was done in jQuery. Say what you want about Angular, but in many ways jQuery keeps things simple. I can respect that. Also, I get way less whining from my peers who hate Angular as a concept. It is true that for the past few years, web development has spent its time separating the styling and code from the markup language. Angular sort of puts some of this back. Yet I love Angular in premise, but I just don't think it's needed for this project. Ajax is a breeze when you want to a something on your own domain, but when it's on another a royal pain. Thank goodness there is JsonP to help fight CORS. What is nice too is when you encode the object in JSON on the PHP server, what is got on the client side is ready to be used in JS. Awesome sauce!


Bootstrap power was never really evident to me. It always came across to me as a lot of rounded visuals and cool buttons. What I hadn't learned was one of the biggest features of Bootstrap. The grid layout. Thinking in the grid layout makes structuring and organizing the layout of a page so much easier than that before. I'm still getting the hand of making the transition between mobile and PC, but it was definitely eye-opening. Why aren't they teaching the grid layout in school is beyond me.




Speaking of eye-opening, CSS3 is way more than just a few styles in a separate sheet. It's made working on the mobile size of things a breeze. I have way more options now, and I can actually now see where I can style multiple device sizes from a single style sheet. I don't know if I will spend more time working on the CSS for the PC side, but with what I have learnt now, I'm confident that I can do what I want without breaking the mobile CSS. Media queries are where its at.




Post a Comment

Previous Post Next Post