タグ

sinatraに関するrochefortのブックマーク (30)

  • Sinatraが若干変更されていた - rochefort's blog


    sinatra Version2.0.0 sinatra-contrib https://github.com/sinatra/sinatra/tree/master/sinatra-contrib requestruby require "sinatra/reloader" if development? sinatra-contribsinatra/capture 便  static file使 configur
    Sinatraが若干変更されていた - rochefort's blog
  • Sinatra Pattern 20130415

    Redmineチューニングの実際と限界(旧資料) - Redmine performance tuning(old), See Below.Kuniharu(州晴) AKAHANE(赤羽根)

    Sinatra Pattern 20130415
    rochefort
    rochefort 2014/10/12
    これはいいまとめだ
  • Rack applicationのプロファイリングにはrack-lineprofが便利 - k0kubun's blog


    RubyKaigi 2014ISUCONwebfinal keynote tmm1/rblineprof便GitHubpeek/peek-rblineprofRailsrblineprofISUCON使sinatra使kainosnoema/rack-lineprofgem便 使 rack-lineprofRack middlewareuse require 'rack-lineprof' class My
    Rack applicationのプロファイリングにはrack-lineprofが便利 - k0kubun's blog
    rochefort
    rochefort 2014/09/27
    Sinatraアプリのプロファイリングにはrack-lineprofが便利
  • Sinatra Recipes

    Sinatra Recipes¶ ↑ Community contributed recipes and techniques for the Sinatra Web Framework. Why yet another doc project?¶ ↑ Quite simply, the Sinatra README and Book have become long in the tooth. This project is to extract any redundant and overlap between the two sources, and create a home for user contributed recipes and documentation to take form. How can I help?¶ ↑ Got a recipe or tutorial

  • A Simple CMS in Sinatra, Part III — SitePoint

  • Sinatra Best Practices: Part Two

    Sinatra Best Practices: Part Two Travis Herrick · June 28th, 2013 In Sinatra Best Practices: Part One we saw how to break up your Sinatra application into smaller bite-size pieces. Today, we’re going to explore testing, which will also compel us to address environment configuration. We typically use Bundler to manage dependencies on our Ruby projects, which means we’ll use a Gemfile to handle that

    Sinatra Best Practices: Part Two
    rochefort
    rochefort 2013/07/01
    test
  • Sinatra Best Practices: Part One

    Sinatra Best Practices: Part One Erin Swenson-Healey · June 24th, 2013 While Sinatra’s one-file approach may work well for your one-off, smaller application – it can quickly become a mess as you add on multiple routes, route-handlers, helpers, and configuration. So what’s a programmer to do? In reading Sinatra’s documentation I’ve found a few morsels that have enabled us to split our otherwise-mon

    Sinatra Best Practices: Part One
    rochefort
    rochefort 2013/07/01
     routinglambda使 returnisruby SimpleAppSampleApp(typo?)  

    ruby

    sinatra
     
  • Sinatra contact form for Jekyll blogs

    Update September 15, 2020: Hi! If you reached this page chances are that you are a blogger :) I would like to introduce DynaBlogger, a new blogging platform I just launched as a simple alternative to Wordpress and Ghost for people who find these platforms overkill for their needs. This very website is now hosted on DynaBlogger! Trying it is easy: there is a free plan - no credit card required

    rochefort
    rochefort 2012/03/01
    sinatra tips
  • はてなブログ | 無料ブログを作成しよう

    フルリノベ後4年間住んでみて思った、よかったところと後悔したところ フルリノベの中古マンションに住んでみて、2020年の5月で4年経ちました。 良かった点や、もっと考慮すべきだった後悔ポイントなどをまとめてみます。 間取りは、ぜひ完成時のweb内覧で見てみてください。家具を入れる前の写真なので、室内の作りがわかりやすいです。 …

    はてなブログ | 無料ブログを作成しよう
    rochefort
    rochefort 2012/01/19
    last_request.env['rack.session']
  • るびま


    Ruby Rubyist  Rubyist Magazine  Rubyist Magazine Ruby  Rubyist  Rubyist Rubyist   Rubyist Magazine 0058   Rubyist Magazine 0058  RubyKaigi 2018  Rubyist Magazine 0057  RubyKaigi 2017  Rubyist Magazine 0056  Rubyist Magazine 0055  Rubyist Magazine 0054   Ruby 11
  • はてなブログ | 無料ブログを作成しよう

    台北市立動物園と迪化街めぐり 子連れ台湾#5 年越し台湾旅行5日目、レジャーや友人との事を楽しむ日です。前日の様子はこちら www.oukakreuz.com 台北市立動物園へ パンダ館 パンダが見られるレストラン 迪化街へ 林茂森茶行でお茶を購入 小花園で刺繍グッズを購入 黒武士特色老火鍋で夕 台北市立動物園へ 松…

    はてなブログ | 無料ブログを作成しよう
  • ShowOffでプレゼンテーション作成をためした - ひげろぐ


    schacon/showoff  GitHub RubyKaigi使  Sinatra  Markdown !SLIDE ShowOff JavaScript   
    rochefort
    rochefort 2011/09/03
    http://localhost:9090 これはよさげ
  • はてなブログ | 無料ブログを作成しよう


     2024 1 2
    はてなブログ | 無料ブログを作成しよう
  • Sinatra で Logger - 酔いどれコード


    使 use Rack::CommonLogger 2Sinatra  Rack::CommonLogger  use  use Rack::CommonLogger, Logger.new('myapp.log')  myapp.log ( Logger )  set :logging, false OK shotgun 使shotgun 使 shotgun 使 production product
    Sinatra で Logger - 酔いどれコード
  • ウノウラボ Unoh Labs: やってみようBDD on Sinatra

    おはようございます。 うちだです。 みなさんテストコード書いてますか? 私はテストと言われると、どうもやる気がおこりません。 そこでBDD! 今回はBDD初心者の私が、やってみた過程を綴ります。ツッコミ大歓迎 BDDとは? Behavior Driven Development 振舞駆動開発 テスト駆動開発ではテストのためにコードを書く 振舞駆動開発では振舞(仕様)のためにコードを書く 結果的にやる事はほぼ一緒 言い方でモチベーションがかなり変わる スペック!スペック! 各言語のBDDフレームワーク Ruby RSpec .NET NSpec Java JBehave PHP PHPSpec 10ステップでやってみるBDD 1. インストール $ sudo gem install rspec 2. スペックを書く # spec/hello_spec.rb require 'hell

    rochefort
    rochefort 2011/01/04
    なるほど。勉強になる。 // instance_variables.include?("@#{sym}")
  • text.ssig33.com - このサイトを Sinatra で書き直した。


     Sinatra   Rails 使 Rails  Sinatra 1 Sinatra  O/R  Sequel  DataMapper 使 ActiveRecord3 使 ActiveRecord3 便 Rails3使 Rails 使ActiveRecord  DBI使使() ActiveRecord3 Ru
  • Sinatra1.1.0の変更点を翻訳してみる - たごもりすメモ


    Sinatra 1.1.0  sinatra/CHANGES at 1.1.0 · sinatra/sinatra · GitHub Sinatra 1.1CHANGES  1.0  before/after ()使 before('/user/:name') { |name| ... }scssscss  .scss 使 ()使
    Sinatra1.1.0の変更点を翻訳してみる - たごもりすメモ
  • 第42回 実世界のSinatra | gihyo.jp

    前回は、Sinatraバージョン1.0の概要を公式ドキュメントを手がかりとして、Sinatraを紹介しました。そして最後に、「⁠Sinatraの先には、まだ地図がない」と言及しました。 今回は、「⁠実世界のSinatra」と題して、実際にSinatraを利用して開発していくうえでの、筆者自身のロードマップを示していきます。 Sinatraとはいったい何か いきなりですが、Sinatraとはいったい何なのでしょう。 これは根的な問いになりますが、Sinatraで開発を進める前に、ここをしっかり考えることが重要であると筆者は考えます。 素直に考えるならば、Sinatraはもちろん、広義のWebアプリケーションフレームワークの一つである、と答えられるでしょう。アプリケーションフレームワークのそもそもの定義が、「⁠共通部分を再利用可能にし、開発を助けるもの」であるならば、Sinatraもこの例に

    第42回 実世界のSinatra | gihyo.jp
  • Sinatra製のTwitterクローン·Chirp MOONGIFT


    ChirpRuby/SinatraTwitter使 Twitter 使使ChirpSinatra Sinatra/@使DM / 
    Sinatra製のTwitterクローン·Chirp MOONGIFT
  • 第41回 Sinatra 1.0の世界にようこそ | gihyo.jp


     SinatraRubyWebDSL 7WebSinatra SinatraRubyRuby[1]SinatraSinatraWeb Sinatra使11Sinatra
    第41回 Sinatra 1.0の世界にようこそ | gihyo.jp