Showing posts with label rest. Show all posts
Showing posts with label rest. Show all posts

Friday, November 15, 2013

Free API web services

Very concise list of free Web APIs: http://www.programmableweb.com/apis/directory
It is good start for testing REST API calls in your application.

Thursday, September 12, 2013

Scala Lift steps how to compile and run


Lift: http://liftweb.net/download
Examples: https://github.com/dpp/simply_lift

git clone https://github.com/dpp/simply_lift
cd simply_lift/samples/http_rest
./sbt
> update
> jetty-run

But this project use old version of scala and lift and sbt

to do Project from scratch with all explanations: http://cookbook.liftweb.net/#InstallAndRunning
just Rest example: http://simply.liftweb.net/index-5.3.html#toc-Section-5.3

Experiments:
#udpate sbt-launch.jar from http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html to latest version

# remove old file to activate changes
rm project/build.properties

#register eclipse plugin https://github.com/typesafehub/sbteclipse/
echo "addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.3.0")" > simply_lift/samples/http_rest/project/plugins.sbt


Deploy (jetty, tomact ):
#create a war in target folder
sbt package

#deploy war to Java application server (jetty, tomcat, ...)
https://groups.google.com/forum/#!topic/liftweb/503eibvCvV4

#examples of prod configurations
https://www.assembla.com/spaces/liftweb/wiki/Deployment

Scala vs Nodejs: http://blog.nelsonsilva.eu/2010/12/14/go-vs-scala-vs-nodejs/index.html#disqus_thread

Monday, August 26, 2013

Rest api development best practices resources

Here is just list of resources that I found and do not want search one more time:

Разработка web API / Хабрахабр
http://habrahabr.ru/post/181988/

Designing a Beautiful REST+JSON API (and other video around)
http://www.youtube.com/watch?v=5WXYw4J4QOU

steps toward the glory of REST
http://martinfowler.com/articles/richardsonMaturityModel.html

API creation blog:
https://blog.apigee.com/
http://apigee.com/about/api-best-practices/all/ebook

API creation mail list:
https://groups.google.com/forum/#!forum/api-craft