The Artima Developer Community
Sponsored Link

Java Buzz Forum
Week 4 - 2015 1/19/15 - 1/25/15

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Warner Onstine

Posts: 242
Nickname: warnero
Registered: Aug, 2003

Warner Onstine is Java programmer and writer of two tech books
Week 4 - 2015 1/19/15 - 1/25/15 Posted: Jan 26, 2015 11:52 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Warner Onstine.
Original Post: Week 4 - 2015 1/19/15 - 1/25/15
Feed Title: BlackBox
Feed URL: http://feeds.feedburner.com/Blackbox
Feed Description: Where technology and art disappear
Latest Java Buzz Posts
Latest Java Buzz Posts by Warner Onstine
Latest Posts From BlackBox

Advertisement
This week:
  • Finish up Angular front-end

Day 1 1/19/2015
Today:
  • Figure out why my constants aren’t being loaded/injected properly, file is there, but it just isn’t working :/
  • Sweet, now I have a semi-working app :P.
  • Next up
    • register
    • login
    • todos page
  • Let’s get register working properly
    • whoops, missed an api endpoint for creating a user :P
    • create a new endpoint for registering
    • POST /user ? - that makes sense, keep POST /users for admin functionality
Next steps:
  • Finish register
  • Implement login
  • Start on todos front-end page
    • get todos
    • add todo
    • update todo - mark completed, edit the name

Day 2 1/20/2015
Today:
  • Register endpoint
    • What the hell? My post isn’t going anywhere, just keep getting a 400 back
    • Grr, getting "Bearer token required". Why? I’m not dealing with auth on this?
    • Weird, take out the client auth stuff and it now gets to the route endpoint properly, odd
    • Basic endpoint works now :)
  • Wire this in to front-end
Next steps:
  • Finish wiring in register to front-end
  • Make sure I can login
  • Start working on todo front-end interface

Day 3 1/21/2015
Today:
  • Finish wiring in register to front-end
    • OK, it’s calling to the service and inserting an empty user - WTF?
    • It might help if I actually sent the damn data :/
    • Done!
  • Login - works!
Next steps:
  • Start working on todo front-end interface

Day 4 1/22/2015
Today:
  • Start working on todo front-end interface
    • Trying the resource path again to see if I can get that working properly for the todos endpoints
    • Got form put in and a list of todos, nothing fancy yet
Next steps:
  • Add in methods to:
    • add todo
    • complete todo

Day 5 1/23/2015
Today:
  • Date Night interruptus :P
Next steps:
  • Add in methods to:
    • add todo
    • complete todo

Day 6 1/24/2015
Today:
  • Add in methods on angular side to:
    • add todo
    • complete todo
      • Looks like there is no default method for PUT, which is what should be used for REST interfaces, need a custom method for update
      • Also, need to make sure that we use Auth headers when sending requests
      • http://blog.brunoscopelliti.com/authentication-to-a-restful-web-service-in-an-angularjs-web-app
      • and also need to override/add a new method for update
      • but still have a question about adding custom headers for each of the default methods
      • will try what I have and see if it works
Next steps:
  • Finish wiring and test solution to see what’s left

Day 7 1/25/2015
Today:
  • SLACKER!

Weekly Recap:
Accomplishments:
  • Got my user registration bit working and wired in to front-end
  • Got front-end build working correctly with different environment constants
  • Started wiring in todo management endpoints to front-end (but not completed)

Next week’s goals:
  • I’m going to come back to this later, most of the skeleton pieces are done, just a few more things that need to be done
  • Time to start digging into Go as well as some Docker fun for iota

Read: Week 4 - 2015 1/19/15 - 1/25/15

Topic: We Are Gonna Need It Previous Topic   Next Topic Topic: The Internet Is Pseudo-Decentralized

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use