[Japanese] Skinny Framework で始める Scala #jjug_ccc #ccc_r24Kazuhiro Sera
English version is here: http://www.slideshare.net/seratch/jjug-ccc-2014springeng
http://www.java-users.jp/?page_id=1048#R2-4
All I learned while working on a Scala OSS project for over six years #ScalaM...Kazuhiro Sera
* http://2018.scalamatsuri.org/index_en.html
* https://www.youtube.com/watch?v=y7BxvT-Jm6w
In 2011, I started a Scala open source project named ScalikeJDBC. Thanks to many contributors, I am still working on the project after six years. In the meantime, the Scala community has been growing sharply, and the trends have been continuously changing. Despite the fact that the number of developers who work on OSS projects has increased, there are not many developers who have been working on a Scala project for several years. In this talk, I will share my experiences and pieces of knowledge through maintaining the OSS project for more than six years.
Skinny 2 was recently released on November 19th. The update includes moving from Scalatra to Skinny Micro for the servlet layer. Upgrading to Skinny 2 is easy and provides improvements like making async controllers safer when using Scala Futures. The documentation website was also renewed with archived 1.x docs.
This document discusses using Futures in Servlet applications. It notes that while Futures are standard in Scala, directly accessing mutable Servlet API objects like the request from Future threads can cause issues. It describes problems like request objects being recycled before Futures complete. It also discusses how Scalatra's use of DynamicScope for the request/response can cause problems when used with Futures. The document outlines improvements in Skinny Framework that avoid these issues, such as passing a stable Context object and avoiding DynamicScope.
English version is here: http://www.slideshare.net/seratch/future-on-servlet-scalaks
http://summit.scala-kansai.org/ でのプレゼンです
Beginning Scala with Skinny Framework #jjug_cccKazuhiro Sera
This document provides an overview of the Skinny Framework for building Scala web applications. It discusses how to get started with a basic Skinny application, the MVC structure used in Skinny, database modeling and access using Skinny ORM, and other features like validation, routing and scaffolding. Key points covered include bootstrapping a Skinny app, writing basic controllers and views, defining models and relationships, and generating CRUD pages automatically with scaffolding.
Skinny is a lightweight web framework for Scala that aims to provide a Rails-like development experience. It offers features like routing, CRUD templates, validation, ORM, database migrations, asset compilation, and mail sending. Some benefits highlighted include an easy setup process, statically typed but simple code, and suitability for replacing legacy systems. The framework is under active development with a 1.0 release planned for this week and continued work on future versions.
Skinny Framework is a Scala web framework similar to Rails that aims for apps and frameworks to be "skinny" or lightweight. Version 0.9.17 added features like scaffold generation and database migrations. Version 1.0.0 is planned for Q4 2013 and will focus on fixing issues and establishing stable APIs before continuing development of new features. Contributors are welcome and the framework can be easily tested by running the included blank app template.
Kabukiza.tech 1 LT - ScalikeJDBC-Async & Skinny Framework #kbkz_techKazuhiro Sera
This document introduces ScalikeJDBC, a type-safe SQL library for Scala that provides a non-blocking approach to database access. It summarizes ScalikeJDBC's features, including its DSL for writing queries, SQL interpolation support, and an asynchronous version called ScalikeJDBC-Async. It also briefly introduces a new Scala web framework called Skinny that is inspired by Ruby on Rails and uses ScalikeJDBC.
This document is a tutorial for the ScalikeJDBC library. It introduces ScalikeJDBC as a tidy SQL-based database access library for Scala developers. It covers key topics like the connection pool, implicit sessions, SQL syntax, the query DSL, testing support, and integration with Play. The tutorial aims to help beginners get started with ScalikeJDBC's main features.
This document introduces the rspec-kickstarter gem, which is a command line tool that automates the generation of RSpec test code. It can create new spec files, write describe and context blocks, create instances and prepare method arguments to invoke tested methods. The gem parses source code using RDoc::Parser::Ruby to extract method names and parameters and generate starter test code. While testing methods alone is imperfect, the author argues it is effective for quickly kickstarting tests when none exist. Feedback on the new gem is welcomed.