EXPERTALKS: Jan 2014 - REST Properly

After the revelries and hangovers of the year-end, we welcome the new year with some much needed REST... :-)

RESTful Web Services are not a new concept to the developer's world. Many of us have used them on projects.

But are we actually RESTful? A bit of assessment and we'd realize that quite often, we don't design RESTful APIs but RPC style Web APIs.

In this session, we are going to learn about few of the fundamental and best practices towards creating RESTful APIs and how these practices can give your APIs a larger adoption.

-----------------------------------------------------------------

FOCUS AREAS:

• Content Negotiation and Media Types.

• Naming Resources.

• Resource Linking and Discovery.

• Defining behaviour using HTTP methods.

• Error Handling, Pagination, Versioning & Caching.

-----------------------------------------------------------------

PRE-REQUISITES:

• This is not a basic session on how to create REST APIs using tools and frameworks. It is therefore expected that participants have produced and consumed Web Services (REST / SOAP) in the past.

-----------------------------------------------------------------

PRESENTER: Anshul Bajpai

Join or login to comment.

  • Shubhmay P.

    Neither I found the screencast on Expertalks Youtube Channel nor the presentation somewhere.

    March 4, 2014

    • Mayank S.

      Hi Shubhmay.... Our apologies for the delay in the screencast. The presenters have been very busy with the upcoming release of their project and haven't had time to devote to the screencast. We will try to make sure that the screencast is streamed on our YouTube channel latest by Monday next week.

      March 5, 2014

  • Amitesh R.

    Can someone share their experience exposing DB and or DB resources (tables/views) as REST services? Where can I get reliable info regarding their scalability/performance/high availability?
    In short - is it worth following such a thought for a very high transactional system?

    January 23, 2014

    • Anshul B.

      Depends on how performant your db is. So you need to choose your db wisely .If the db is able to perform well under high transactions with big volume of data then I don't think there should be a problem with exposing CRUD with REST. If the REST layer is thin and resilient then I think it should be fine. You can also consider doing db clustering but that may affect the freshness of data.

      January 23, 2014

    • Anshul B.

      Also consider nosql databases.
      http://kkovacs.eu/cas...­

      January 23, 2014

  • Amitesh R.

    very good for a beginner. gives me a few ideas of my own.

    1 · January 20, 2014

  • Mayank S.

    Thanks a lot everyone who attended this talk...

    We are especially thankful for the constructive feedback you've shared. Shows that you actually care about making these talks better... :-)

    From our end, we will keep striving to make EXPERTALKS a better platform with each & every session.

    Within the next few days, we will be sharing the video / a screencast of this EXPERTALKS on our YouTube channel...

    January 20, 2014

    • Anshul B.

      Having an expertise on a thing which is only a style and does not have any standard/RFC takes a lot of effort and time. We are still trying to discover and learn better practices and try to incorporate them at work.

      January 20, 2014

  • Anshul B.

    Thank you guys,
    I had a pleasure interacting with you all and enjoyed answering your questions.


    I don't think I could have cover more on Authentication without going into implementation details which itself could be a topic for an Expertalks :)

    For caching, yes may be a couple more of slides where I could have shown interactions b/w client and server could have been more elaborative. I actually prepared examples from Twitter, Facebook, Plus apis. But, I didn't want to confuse you guys. So, I thought to remove it otherwise people would try to draw comparisons, so rather I thought, I'll pick the practices which are closest to REST standards. But may be next time, I'll include them and see how it goes :)

    Thank you for the feedbacks and I'll try to incorporate them if I'll do a repeat.

    3 · January 20, 2014

    • Indrajeet H.

      Was a good session.With the amount of time we had I think it was best covered. Good topics were selected setting the right tone to approach REST properly. I agree that details on specifics would either need more time or could be a topic in itself.Good thing about the presentation was to enable discussions naturally which proved to be source of learning too.Thanks Anshul for the talk.

      January 20, 2014

  • Anshul B.

    I don't know why meetup rendering is f#ck#d up!

    But the caching paragraph ends at "have been more elaborative"

    and new paragraph starts at "I actually prepared " which is about real life examples.

    January 20, 2014

  • Abhishek S.

    Learned a lot of new things and got to know new peoples and their thoughts.Yes agree with Amit Sharma for caching and authentication need to be covered in details. Anyways arrangements and presentation was good thanks to Mayank and Anshul.

    January 20, 2014

  • Amit S.

    Nice Presentation!! Good Content. Caching and Authentication may had been covered in little details.

    January 20, 2014

  • ajinkya

    Focus was rightly on REST standards but lacked real code / live examples of some third party REST Apis which follow RESTful web service architecture.

    Best Regards,
    Ajinkya

    - Professional PHP Consultant |http://www.linkedin.com/pub/ajinkya-nahar/8/404/77b
    - Organizer of PHP Meetup Group | http://www.meetup.com/PHP-Jagruti-Meetup-Group/

    1 · January 20, 2014

  • Ajay B.

    Good to see people debating 401 vs 409, good insights into naming resource

    As a followup do check following urls Richardson Maturity Model
    http://martinfowler.com/articles/enterpriseREST.html

    Enterprise Integration Using REST (Also talks about versioning)
    http://martinfowler.com/articles/enterpriseREST.html

    2 · January 18, 2014

  • Rizwan

    Nice presentation could have better on caching elabarotion

    January 18, 2014

  • Siddharth G

    Mayank, any chance for me today?

    January 18, 2014

    • Mayank S.

      You can come down Siddharth...

      January 18, 2014

  • Jaydeep

    Sorry folks, wont be able to make it. Got some work.

    January 18, 2014

  • Vishwajeet V.

    Really sorry for cancelling myself on the last moment.. But I got really urgent work to do... I will watch the youtube video later...

    January 18, 2014

  • ganesh t.

    Hi Mayank, sorry for dropping on the last day.
    Due to some emergency, I won't be able to join tomorrow.
    Do share the video.

    Thanks,
    Ganesh

    January 17, 2014

  • Mayank S.

    Less than 4 days to go for this event... looking forward to meeting you all on EXPERTALKS day.. :-)

    Here are some details which all of you should know:

    DIRECTIONS TO THE VENUE - There is only one "D-Mart" in Kalyani Nagar. Its on the ground floor of Cerebrum IT Park - B3.
    We are on the 2nd floor above that D-Mart..

    PARKING - It being a Saturday, there will be ample parking available in both basements of Cerebrum IT Park - B3...

    SECURITY CLEARANCE - Security at the building checks your car boot. They don't check your IDs usually. But still, carry them..

    REPORTING TIME - On or before 10 AM. And PLEASE be there on time..

    LAPTOP POWER ACCESS - Although this session will NOT have a hands-on workshop, you can bring your laptops if you like. There will be ample charging points.

    INTERNET ACCESS - There are wired and wireless connections in the office. You will have access. You can bring your own dongles if you want to..

    FOOD - Yummy sandwiches ... :-)

    4 · January 14, 2014

    • ajinkya

      looking forward to meet u all tomorro!

      January 17, 2014

  • Nirajan S.

    Hi Mayank, unfortunately I am not able to join this meet due to some personal emergency. Please do share the video of this meet. Thank you.

    January 17, 2014

  • atul

    Hi all,
    Some emergency at home - need to travel tomorrow - hope you all enoy the session

    January 17, 2014

  • Sangram

    Hi Mayank, I am working on REST api's in cakephp and it will be very helpful for me if i get a chance to attend the workshop.

    January 17, 2014

  • A former member
    A former member

    Hi Mayank, I am living in KalyaniNagar, so its a walking distance to me. Let me know if any space is for me.

    January 17, 2014

    • Mayank S.

      Hi Alex.. Since there is a long waiting list ahead of you, I'm not sure if we would be able to accommodate you... I will let you know tomorrow if there's any possibility...

      January 17, 2014

  • Bhavesh J.

    i am interested to attended this but i am in waiting list.

    January 16, 2014

    • Mayank S.

      While you may not be able to attend this session, we will be video recording the same and uploading on our YouTube channel... so don't worry.. :-)

      January 16, 2014

  • Prasad P.

    I'm working on Spring Integration & Web Services. I'm on waiting list. Is there any 0.001% hope/room for me?? :)

    January 14, 2014

    • Mayank S.

      Hi Prasad, I have responded to your query via email.... Mayank

      January 14, 2014

    • Prasad P.

      Hi Mayank, I replied to your mail with my number.

      January 16, 2014

  • Amit S.

    I have applied for this day before yesterday but I am still on the waiting list .. Plz help. I am working on MEAN stack product and am interested in understanding the nitty gritty of large scalable REST services.

    January 14, 2014

  • Sandeep ArunKumar G.

    Thanks for confirming me for the event

    January 13, 2014

    • Mayank S.

      No problems Sandeep... :-)

      January 13, 2014

  • Anuja

    Hi Anshul,
    I would like to attend the session because I already worked on REST web services and want to learn more on it, especially Error Handling, Security, Resource Linking and Discovery...

    January 13, 2014

    • Mayank S.

      Hi Anuja, I have responded to your query via email.... Mayank

      January 13, 2014

  • Mayank S.

    Hi All,

    Given the overwhelming response for this talk, I have added 10 more tickets for this event.

    Unfortunately this maxes out our capacity... :-(. We won't be able to add any further tickets for the event.

    In case you are ruing missing out on this Expertalks, don't worry... :-).
    We will be recording this session and streaming it on our YouTube channel... a week after the session.

    The video will have the highlights of this talk interspersed with useful screencasts by Anshul.
    There will also be a relevant blog related to this topic on the Expertalks Wordpress channel.

    EXPERTALKS on YouTube - http://www.youtube.com/channel/UCaGknPUEq1P_bmteWGyfEHg

    EXPERTALKS Blog - http://expertalks.wordpress.com/

    January 13, 2014

  • Sudarshan S.

    Unfortunately will not be able to make it. Will there be video like earlier?

    January 12, 2014

    • Mayank S.

      Yes Sudarshan.... There will be a video of this session on YouTube... It will be on the Expertalks YouTube channel... :-)

      January 12, 2014

    • Sudarshan S.

      Thanks Mayank.

      January 12, 2014

  • Mayank S.

    Hi All... a little more than a week to go for this exciting session :-)

    While we're gearing up in full swing, it's important to remind that this session will be useful for those who have actually done HANDS-ON WORK with Web Services...

    If you have never worked on Web Services (..either created / consumed them...), then the session would be difficult for you to follow...
    It focuses on advanced concepts rather than basics of Web Services.

    In that case, we'd request you to RSVP No for the event so that those in the Waiting List with relevant experience can participate...

    Regards,
    Team Equal Experts

    January 10, 2014

  • Shrikant T.

    Would be very interested in it

    January 9, 2014

  • A former member
    A former member

    we are using CXF and Spring MVC for REST extensively in different projects , including interceptors and versioning, using Spring Security. I will be able to add value to this discussion. Let me know if I can join.

    January 4, 2014

  • Rizwan

    Hi,
    Are we covering the securing REST webservices under Best Practices part? curious to know

    1 · December 23, 2013

    • Sagar G.

      Are you planning to cover authentication as well?

      January 1, 2014

    • Anshul B.

      I won't be covering how to implement an authentication scheme, but I'll talk about what can be used and standards

      January 2, 2014

  • Abhishek S.

    Hello Anshul,
    thanks for creating this meetup as since it is one of the hot topic in current changing scenario of implementation of web services, i was just wondering that are you also covering "hypermedia type of REST implementation" at least some intro about it ?

    December 30, 2013

    • Anshul B.

      Hi Abhishek, I'll touch upon it as part of Resource Discovery.
      Cheers!

      1 · December 30, 2013

  • Sandeep ArunKumar G.

    Its showing me on wait list where as I had excepted the invitation long back

    December 30, 2013

    • Mayank S.

      Hi Sandeep... This is because you RSVPed for this event on the Pune Java User Group Page (http://www.meetup.com...­). . . Here's the Context - This EXPERTALKS event was also cross-promoted on the Pune Java User Group (PJUG) 1 week back to reach out to a larger base of developers.... However, it was made explicitly clear by the cross promoters (..Kunal Dabir..) that RSVPs for this event have to be made on the EXPERTALKS Page and NOT on the PJUG Page. . . . . Despite this, a few people registered for the event on the PJUG Page. :-( . . . Anyway, I have made a note of your entry and will keep you posted on the updates pertaining to this event. . Usually there are many backouts as the event nears, so even if you are on wait-list, you might very well clear the same....

      December 30, 2013

  • Mayank S.

    Hi All,

    It's a pleasure to see your enthusiastic RSVPs for this event... :-). This kind of response is the catalyst we need for facilitating EXPERTALKS... REST assured (..pardon the pun..), it will be a great event... :-)

    One thing we would like to point out again (...and we would serve more reminders of this leading to the event...) is that this session would make sense ONLY for those who have EXPERIENCE of working with Web Services.

    If you've never ever worked with Web Services (...just read about it in books / articles...) this session will not be useful to you.

    In case you have registered for the event despite having no prior experience of Web Services, please relinquish your seats by RSVP'ing No.
    There are a few experienced members in the Waiting List who might benefit immensely from this session.... as well as provide valuable inputs during the same.

    Regards,
    Team Equal Experts.

    December 30, 2013

  • ajinkya

    Hi Anshul,
    just getting excited about this Meetup and mostly interested for the last point in your focus area i.e. Error handling.

    1 · December 28, 2013

    • Anshul B.

      Thanks for taking interest Ajinkya. See you there!

      1 · December 30, 2013

  • Gaurav S.

    1guest with me

    December 23, 2013

    • Mayank S.

      hey Gaurav...if its not too much trouble, can u ask your guest to register for the event as well ?... I have disabled the provision of guests for this event...

      December 23, 2013

    • Gaurav S.

      Sure.. mayank

      December 23, 2013

  • atul

    I think we should also cover the following:
    No session - helps in being stateless -
    provide state with every request - http://ruben.verborgh.org/blog/2012/08/24/rest-wheres-my-state/

    --------------- from the play for scala book -------------------
    This makes setting up a cluster a lot simpler. You don’t need to send a particular client’s request to the same server; you can simply hand out requests to servers on a round-robin basis.
    --------------- from the play for scala book -------------------

    my two cents ;-)

    --- cheerio atul

    December 23, 2013

    • Anshul B.

      You are absolutely right Atul. REST architectural style promotes stateless communication and it is one of pillar stone of REST communication (https://www.ics.uci.ed...­) . I didn't put it in the focus area but I'll surely speak about it.

      December 23, 2013

    • Anshul B.

      Thanks for showing interest

      December 23, 2013

People in this
Meetup are also in:

Create a Meetup Group and meet new people

Get started Learn more
Allison

Meetup has allowed me to meet people I wouldn't have met naturally - they're totally different than me.

Allison, started Women's Adventure Travel

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy