Road to Understanding JavaScript Frameworks.

Alright, so I am branching out and trying to grow as a developer. I am working to strengthen my skills and prepare myself for winter. Come November, I will graduate and then it is time to stop messing around and get out there. I bounce back and fourth between determining that I am prepared enough. It is these types of feelings that keep me pushing forward.

So, I do Treehouse right. You can get in on that action here. The point of this is not to promote them, but to illustrate my frustration and maybe help some other struggling guy while helping myself to figure this stuff out. I completed the JavaScript Course and the JQuery course. I have nearly completed my first track, but while I was watching this video on you tube:

Video #6 in the playlist

It got me thinking about frameworks and the direction I want to take with my learning. Now is a great time to determine where I want to go. I have a great handle on the basics. What do I want to specialize in? Angluar.js seems to be the business right now and it is apparently growing. I thought that considering JavaScript is where most of my points are within Treehouse it is logical for me to move forward with JavaScript frameworksyngwie_malmsteen_logopic.

I began to look into it. Treehouse sections, Codecademy, random articles. I just was checking it out. At a glance, it seems pretty cool, but when I see these guys breaking it down its like watching Yngwie Malmsteen demonstrate a guitar solo. If you ever looked up his youtube videos, you know what I mean.

Okay, so I am already getting deep here and haven’t even began to talk about Angular. I suppose I will make another entry for just such topics. This one can be about my journey and frustration upon attempting to learn Angular.js.

I get some of the concepts and the execution, but there is much that I don’t understand. In fact, I haven’t had an example yet, that I couldn’t complete, but often times they make it easier than it has to be.

Other than Angular, I have other items on my todo list. If I end up giving up on angular until I am smarter I will probably move on to Ruby on Rails, php, or node.js I am almost positive that those are all backend. I feel that I need to take a deeper look into react.js and backbone.js there may be potential for growth there. I was initially drawn to ember, but my understanding is that it is on the way out. With so much left to learn, it is easy to feel lost. We just keep our heads down and keep going.

Advertisements

EM328-1502B-01 Server-Side Scripts: thoughts on an assignment

So this week I started two new classes. The first one and the one we are talking about today is Server side scripting. I admit right out of the gate that server-side is not my forte. Although it is something I intend to learn, I just wanted to get that out of the way before some one reads the post I am about to make and smites me for being absolutely and totally wrong. For the most part, I think I pretty much got it. Anyway, here is the post and you can determine for yourselves if the ideas put forth within it are accurate.

How do server-side scripts use the request/response model to dynamically communicate with the user?

The request/response model is an example of two way communication. It works by having one system send a request to another and a response is sent back. This can be ongoing in a back and forth sort of nature much like a telephone call. The next aspect to consider with such topics is whether the request is asynchronous. That means does the browser wait for the response or just keep doing its thing. This is the heart of AJAX, Asynchronous JavaScript and XML. These days XML isn’t used like it used to be. Most requests return JSON, JavaScript Object Notation. Then via JavaScript the data is rendered into HTML/CSS and placed on the appropriate place on the page. Alternatively, if said request was not asynchronous nor AJAX. The page would wait after sending a request, more or less frozen, until a response from the server was returned. This is a big part of why JavaScript was not popular in the early days of the net.

Compare and contrast features of the popular serverside scripting languages such as C#, PHP, and Visual Basic.Net in supporting such an application.

When I think of server side scripting langauges, I think of JavaScript’s node.js, Python’s Django, Ruby on Rails, and PHP. While server side programming is not my forte, it is something that I want to learn and hope to tackle in a more thorough way than this five week course will permit. These are the languages that I am most interested in. For my purposes, I will likely choose node.js for my future endeavors and that’s only because I already know a lot about JavaScript. I know a bit of Python although I am rusty. And Ruby has a special place in my heart. Some of the things Ruby can do are really awesome. For the future of web development, I see node.js as being one of the larger forces. We are to compare and contrast these languages, so in attempt to do that I will write a short summary of them. Really they do a lot of the same stuff, it’s the how it does it that makes them different.

Node.js is an open source project created by developers at Joyent for use on Linux systems in 2009. It is a cross-platform project written in you guessed it JavaScript. Like other JS applications it runs event driven architecture and non bloicking API. It is used by Microsoft, Yahoo, Walmart, SAP, LinkedIn, PayPal, Voxer, and GoDaddy to mention a few. It uses Google V8 JavaScript engine and has a built in library that doesn’t require it to run Apache HTTP Server or IIS. It is very fast, and web focused and therefore is liked by many developers. It will be a huge force in the coming years.

Django is a language that I know very little about, but considering that Python was the first language I learned I have always been interested, just too busy to check it out. It is free and open sourced. It follows the Model-view-controller architectural pattern. It is maintained by the Django Software Foundation that is nonprofit. Django is used by sites like Pinterest, Instagram, Mozilla, The Washington Times, Disqus, BitBucket, and the Public Broadcasting Service. It’s main purpose is to create complex, database driven websites and emphasizes reusability and ideas like DRY, Don’t Repeat Yourself (which is a concept all programmers can/should embrace).

Ruby on Rails is also an open sourced project and like Django it is a MVC. It is written in Ruby as it’s name would suggest. It encourages the use of XML and JSON and marries well against HTML, CSS, and JavaScript on the front end. It as most all of these also encourage the use of CoC, DRY, and the active record pattern. Ruby works best on UNIX based system such as Mac or Linux. Unlike node.js RoR is typically designed over a database server such as MySQL and a web server like Apache. RoR is used on many websites, such as, Twitter, Shopify, CrunchBase, Groupon, Bloomberg, Airbnb, SoundCloud, Heroku, and more.

In short, there are a lot of similarities between these guys, but there are also little differences. Each has its own structure and syntax. All of them could be used for something great, but depending on the project, developer, and style the choice will be narrowed down and ultimately productivity of the developer will show just what can be done with such scripts.”

So that is it. It is as much opinions about these than it is about fact. But I thought that since I write these every week and no one hardly ever reads them except my teachers. Maybe I will put a bit more effort in them if I know that all of you are going to read them as well.

So send me some feedback. Correct me if I am wrong. I love to learn.

Ladies and Gentlemen, he has returned.

So, I have been away from this platform for some time now. I have been doing many different things and to be honest for awhile I had totally forgotten that this even existed. Now, I have returned to try to make use of this public diary once again.

return he has

Dustin Morris

On the verge of finishing my BS degree in Info Tech, I feel like I should start to be social and linking this account to all that stuff means I should probably be writing some meaningful stuff on here. We’ll see about all of that, but I am going to try to post at least once a week. It will probably be me recapping lesson or writing about web development stuff.

I’m not sure if the point is to demonstrate that I know what I am talking about or illustrate that I have more personality than a Chia pet. Either way, the word on the street is that this is the way to get the attention of recruiters and or “the path to a job” and so here I go, on my way down the path. Employers look out, new developer on the scene.

BTW, if anyone is interested in a few website message me. I am building a portfolio and until I get it finished I am looking for projects. I would be happy to build your website at no cost to you, other than the domain name. For those that don’t know domain name is www.yourDomainNameHere.com. They are fairly inexpensive depending on what you choose and who you buy it from. I will provide hosting for 6 months at no cost to you. Check out my website @ http://www.designbysparticus.com.