• Home
  • Interactive Resume
  • Blog
    • Coding
    • Health & Fitness
    • Success & Lifestyle
  • Contact
  • About

BAOSS

  • Home
  • Interactive Resume
  • Blog
    • Coding
    • Health & Fitness
    • Success & Lifestyle
  • Contact
  • About

Week 6 Day 3 – Twitter with AJAX

Home Coding Week 6 Day 3 – Twitter with AJAX
Week 6 Day 3 – Twitter with AJAX

Week 6 Day 3 – Twitter with AJAX

Mar 2, 2017 | Posted by Bao Le | Coding |

Good morning all! Just a real quick note, Assessment 5 has been dominated. I’m feeling good, and really starting to crank up my momentum and confidence again. I came into the assessment extremely nervous, and as everyone says, the nervousness was unfound. But I do have this feeling that they made the assessment fairly easy on purpose, given at this point, they don’t serve to gain anything from dismissing anyone once they’ve made it this far.

That said, let’s move onto AJAX! AJAX is pretty awesome. It allows for the live inserting of new elements onto the page upon submission WITHOUT having to refresh and rebuild the entire page. For example, this is how tweets work. When you create a new tweet, you compose a tweet and submit it to the server. Rather than reload the entire page, the request is submitted to the server, and the new tweet is added right to the top. The same goes for loading new older tweets at the bottom of the page.

So utilizing this concept, my partner and I built a basic clone of twitter. It was pretty cool to see things slowly take place. We first started with learning about AJAX request and jQuery event handling by preventing the default action of the submit button, and instead redirecting it to build the tweet and prepend it onto the feed, rather than re-rendering the page. We then built the “load more” capabilities and general formatting.

Overall, I hate to admit it, but I’m starting to appreciate the power of JavaScript over Ruby. But I think I’ll always like Ruby more based on how verbose and easy to use it is.

I think that’s it for now! I gotta catch up on homework, given that I basically chose to study for the assessment over doing the homework readings and assignments. Until tomorrow, take care!

 

0
Share

About Bao Le

Web Developer at Dropbox. Reach out, I'd love to connect!

Latest Posts

From Bootcamp to Dropbox: Part 2 – Success in the Program

From Bootcamp to Dropbox: Part 2 – Success in the Program

November 27, 2017

Before reading Part 2, make sure you’ve read Part 1!...

From Bootcamp to Dropbox: Part 1 – Application Process

From Bootcamp to Dropbox: Part 1 – Application Process

October 9, 2017

The Decision The decision to go into programming, without...

Signed with Dropbox!

Signed with Dropbox!

September 8, 2017

After a grueling 3 months or so, my job search has come to...

How I Overcome Rejection and Stay Motivated

How I Overcome Rejection and Stay Motivated

July 17, 2017

Having just had my first real rejection from a company I...

How I Overcome Imposter Syndrome Every Single Day

How I Overcome Imposter Syndrome Every Single Day

May 22, 2017

Before I really go into how I personally overcome imposter...

Future Googler

Future Googler

May 2, 2017

I’m finally “finished” with my interactive...

Introducing the Graduate Job Seeker Program

Introducing the Graduate Job Seeker Program

April 26, 2017

I almost forgot to blog today haha. Please expect not as...

Progress on Progress

Progress on Progress

April 25, 2017

The end of Week X Day X titles are here! And with it marks...

Week 13 Day 5 – Google Co-Working Meetup

Week 13 Day 5 – Google Co-Working Meetup

April 24, 2017

The Google meetup was absolutely dope. It was an incredible...

Week 13 Day 4 – Catching Up

Week 13 Day 4 – Catching Up

April 21, 2017

I think I have a pretty solid game plan of how to attack my...

Contact Us

We're currently offline. Send us an email and we'll get back to you, asap.

Send Message

Let’s Connect!

© 2025 · imbaoss.com

  • Facebook
  • Twitter
  • Instagram
  • LinkedIn
  • GitHub
Prev Next