Merken

Make a Rails App with 140 Characters (or less)

Zitierlink des Filmsegments
Embed Code

Automatisierte Medienanalyse

Beta
Erkannte Entitäten
Sprachtranskript
a and you know that and that the end I is a neighbor Quebec
and welcome to the money a thing but I'm also
known by the name of Grandmaster and they um I'm an expert in rails magic but I've always my links at the time great citadel largest killing
are is not actually magic rails doesn't update taste is not actually sacrifice chickens in his backyard to make all the components work on and so on and talk a little bit about some of the magic today being the different parts of a Rails framework and at how they all fit together when you type rails new into this huge magic set of folders and files when they are actually doing for you and can we get rid of all of them and put a Rails application but in a tweet and I
can manage the burden that you may see my blog online abroad in a but . com and I also
have a course called the complete guide rails performance normally talking about performance in research speed is kind of my shtick and that that is a real speed . com that
cost but when I can we talk about performance say there is some performance benefits to this talk which I'll talk about them but they're not really the most interesting part I think what's interesting here is the underlying modularity of of what rules can do for you and that 1st
but still allow us to learn associations the with dual psychoanalysis on our poor real development that reminds here on
when I say rails what you think of do you think of bloated or a light weight but when you have as application and i its 50 thousand lines a feel a little bit like this i
a i ng a and
a
lot of and I all we know
is you big did or do you think of spaghetti code but I've heard I should control
describe as a crack den of inheritance if
you think of object-oriented when you think of rails and there's a the web framework of formerly known as Lotus now
was me I don't know if they still status in their marketing they used to say that Lotus that aims to bring back object-oriented programming to web development which left me wondering where to go there and who is bringing
you back when you think of it as you think of
modular or monolithic but there are
many people on StackOverflow who complain about CSR of networking and the comma device to this is to just turn off the answer of protection surely that by itself is proof that people should only turn on this feature when they need it but really move wrote this comment also probably
things as a cell breaks things and so almost should just not verify SSL certificates only think of Wales you think
of fast or do you think of slow the of those rules applications on both through like it's going to be the we usually have all of whom I have half of a a great way
with a sound so it's a plug belt and the
cost of as well as applications of the airspeed com
right that's that's the status of the numbers out but
since they don't come up so my this is here is that although we have a lot of negative mental associations sometimes I think with rails and I think it's actually a lightweight well architected and modular framework for creating speedy Web applications but it just doesn't advertise itself that way and and I
think a lot of this comes in the way that our lth DHH talks about rails and in his keynote last year rose come 2015 he described the rails as a kind of proper backpack but for doomsday like he wanted to be able to rebuild base camp by himself but if all of the internet you know went down and the only had rails left he wants rails to be you would do everything and to be able to to rebuild base camp with just everything that comes in rails out of the box and has a very expansive vision that that's not like also on the dual 1 lines of 1 files not trapped and like it's going to be cute in blog posts but that's sort of vision leads to a very different on perception of a web framework then what other frameworks and come to advertisers the simplicity or or or whatever like
that that doesn't necessarily mean that rules can be simple or can't be light way so we're doing this talk is Werner take the file structure and the the the boilerplate that you get from a Wales new command line and that basically just hack all off until we get down to 140 characters so the 1st thing we do
after we but type real new is we have to add a controller or at has actually do something on and so on and added a Hello World controller which is gonna render hello world in plain text that's it wouldn't add 2 reels new right and I got that are out for this obviously and configure also good a now at this
point we have 400 33 lines of code generated by rails New and that spread over 61 unique files that is a lot and so that includes a DEMO configuration files generated all the gotta be files and the backup file but it does not include blank lines are common so this is 433 lines that actually doing things but so a lot take to wrap your head around step 1
is to just delete all the empty folders and files and we get a lot of
filters that are generated by rules that new arils new and that just are empty and have his did this dot keep filed to like for skip to put them into your source control on but these forms otherwise empty and up just there to of serve as a placeholder that rails in need these things to boot up but doesn't need empty folders to like start an application which is an obvious in retrospect but from a lot of you keep these boulders around with no intended they're using them and some of them the more interesting ones here that were and delete entirely or the entire lived folder the entire log intent folders log temple just be recreated frills needs them and the entire vendor folder of life we took his were just doing a whole world applications so we don't need of assets were whether or not they come from oral map or from some vendors the the but our as the delete all the sort of like a boilerplate empty files that don't do anything a lot of these files especially configure initializes of a lot of these it is blank with comments there's no actual coding these they're just comments that tell you hey you should think about such and such decision go do that up and of bodies these like application job revocation helper arches blank models that don't do anything either of their their side the signposts that say hey you should put such and such cohere they don't actually do anything functional and since the the public directory we can delete the entire public directory of but these full of files like 500 of HTML and 404 . html when rails has a 500 response in the production environment will try to show the user 500 you know that file doesn't exist and you have an all renewals behavior but it will just render blank 500 response which for a little have a world application is totally fine so my
point here is that when D is not equal worthless I think this is actually 1 of the most important things that rails new does is create all these empty the comment field files but because what it does is it creates a common vocabulary it says OK but when I come to a new Rails application I will go to the AP models directory to find the model of the domain model like I know that that's where most the business logic is going to happen hopefully but I know that the controllers in all HTP related stuff is going to be an app controllers on fun hacking away in the view and I see leakage inquiry and I know that's probably gonna be in vendor assets scripts it just gives us this this common starting place which which makes it so easy for any company that works on multiple rails applications or as consultants like myself and to go from Rails application Rails application and say why why know pretty much I was organized stuck as we have at this default organization that we all sort of agreed upon by using rules New and we could cash out this problem every time we started to do application but we don't know I that I don't really realize how important this was until I started doing more work with Javascript on the server side are it's it's just like a free-for-all like every different but something which don't even tell you how to organize anything so you know it using and this is especially true when a true it seems to me an electron applications where everyone just sort of has their own folder structure in each app kind of those things their own different way and in rails we don't have a problem that we just all of agreed that while would just cannot by action on this and this is where power and organizer applications step
usually the entire at there and
and so some of these are kind of obvious like it or levitation does indeed assets so I can distally aptation like action cable a bit of a cord cutters so I don't use action cable does eternal upon it was a our don't exist as a as cable stuff and the control is what wouldn't in line to remove the actual control room and stuff that matters into configure application that B and we're deletes all the views in all models everything else synaptic so the only part of the Act that we actually care about and Hello world application is this part right the controller so and eliminating application uh unlimited the application controller that's just a comment useful pattern but to have you should usually have an application controller and that has common behavior between all of you're a controller classes if you don't that's fine you need application controller and In a 1 control application we definitely don't but so I'm just putting it at the bottom of configure application Derby on if you I I think the exam you know his talk just fluorine here is gonna be a really good complement to this talk if any of this stuff because I'm going to fast years like what I don't know why it's in configure application B and he talks about the entire boot process and when this file gets loaded and why it's important I move this year and just so confusing would watches talk when I get so when I get posted by
stepwise deleting folder so this one's a little more obvious I think that been forming the bond is just full of a couple of useful
things of that make rails development easier but from a developers perspective of 2 of these files are just really simple um . best practices they don't really do anything and that's been update and been set up but these are just examples scripts that just intended to say like hey successful rails applications generally have a set of scripts but that said that sets up they develop environment like it installs rightist post personal weird things your app beads and so a new developer should just be able to run been set up in and rail server can be done that's just the work of best practice here's an example so you don't need that values doing so would then update updates something then the or other files European spraying been raped been rails and been bundle or been stubs water been
stubs but themselves basically just wrapped AGM executable in a little bit of environment set up so usually it means about setting up a load path with or whatever and it might set a constant like you might say hey my app lives in such and such a directory now all of the gem executable and and that's what that's what actually it's run when we type real service that should be the been subject to run and in our
these if you actually look at bin rails and being rate you'll see they also use point so the been rails sets up a new application process whispering then does it would normally going to anyway I only these are more we can do
instead of because we're just all I wanna do is set up a little Hello world server that is to use can figure out or you directly and use a command called rack up which comes the rat genome so rack up but it looks for a configure are you file in the current directory and that it treats the contents of configure our you as the body of a block but inside this code so it takes AP equals rack builder . do consensus you can figure out are you file cause that happen at on the configure you file in a generally residue application looks like this I all rack up files that starter used up and in run and then some rack compatible application and if you don't know how rock acts were committed to that a 2nd time but that's all you need those we have to have a king were going to call rack up in the current directory instead of real server and it's can execute that can figure out are you directly which is basically what real server was doing anyway just with a lot of other fancy on atoms that we don't need for a little Hello world server step 4 is to start
using only what we need of the the actual functional components that remain at this point so we're going to
so at the top of every but everyone's configure application that be you can see require rails all and what that does is loads up all the different frameworks and rails the truth is that I think many applications don't actually use all the components of rails especially API only applications are more very simple ones like the 1 I'm talking about today like hello world and if you actually look at the rails all file it looks like this I think this is the entire the entire united at and cutting out here I really just loops through all the different of framework components of of rails requires each of them and then we're done so all I've done here if taken out of the race and that it line by line and commented out the parts that were not gonna use were literally just use action controller for this whole world that I need a database I don't need action view although action use loaded anyway but actually little needed Magazzeni e-mail other actor job different reaction cable ends I don't need sprockets developed in API Server so I don't need to serve any assets are have anything do with assets but have
to do to give you history lesson on uneven
why this is possible and a
gentleman who cats with think is here but not in this room is he's your own rules that you there they do that so all wow OK so this is the 2nd part talk about framework and from them the so in 2008 um mode merged with rails of to sacrifices web framework at the altar of rails and and why at the time it said we also become more modular starting with a real score including the ability to opt in or out a specific components this is sort of like a hallmark of murder you can do this stuff and rules to but they wasn't that this modular structure that we have today but that was the way the world worked so when we merge word into rails to to to get to the real 3 released and that was a big part of the work that was done was getting these but like in extracting these different framework components now some people don't like this
but Jeremy Ashton is a copies script author and had set on Twitter all forward progress stalled for nearly 2 years it's still slower than real Steuben addresses bundle is a nightmare notice 1 notion case case is closed but they flee that that doesn't seem to be the case in the 4 years since he said that I but I I think it is it is true that rails 3 wasn't really like a feature release it was that it was a release for cleaning internals making things easier for plug-in authors and part of 1 giving this talk is I think the a lot of the work that went into rails 3 and this this modularity that's been given to us is in use enough for every least were not aware of it enough as Rails developers and
so know this stuff so that you whose work was not in the so the the the orderly here is Arjen file and the only thing we need in our Hello world application is Just rails up toward a standard during the file eventually the adult tweets eyes watching at the Eurobond where which is annoying but it does you know technically work on it's important know that that rails is very conscientious I think of of what goes in the GEM file and what goes into you know the Rails framework itself and everything the gem file is very much a suggestion on that it is required to get a real server working and none of it is like official you know shake guess total is officially sanctioned rikers Merill's organization or whatever but none of it is required you can you can get rid of all that if you want 1 1 area like that you can see you newcomers source happened was with with action table of someone suggested during the development in the merge like why would just make action cable gentlemen and put in the default and file but did set I think action cable and WebSockets is so important that it needs to be in the main framework it it's too important to be just and jump file so there is a definite decision being made here about what goes in the framework and walkers image and file and uh that so when you look at edge filed don't think that anything in there is is is something that you have to be using but we're also had jumped all of the ipconfig files that we don't use anymore because I just got rid of the action cable by not loading it instead of rails with rules out all real slash and we're not using Active Record anymore so I can delete can fake database I General all right using puma us I do reapproval at or be about using spring sowing here spring out every the then at this point we've
got like 5 miles laughter and now we just inline everything so we move 5 files and 1
but therefore a very important files here again a this socks really important here he talks a wider thereforedifferent files for all this stuff and why we don't invite them all into 1 but so we have put out the environment i be application of the interaction B. what is gonna put all of these interactive file so there are only going to fade out are you it once you do that it looks like this so this
is what I consider the smallest practical Rails application and when they get to tweet stupid link in a minute but so let's walk through this alignment lines and this is important to understand a but we require that the realtive fraction controller that we require the real time and not action control directly because of the sense of what happens in real time we wanna make sure that what actually gets run were to define a a application that inherits Rails application this is this part right here is exactly the same so as it is an application that are being we have to define a secret key I got rid of soluble right so so I have to define my secret key as a as a configu like that because this is a toy application and is considered the some meaningless string and you always you have to do that for real a real application but and then I in lines but configure rout start on the inside of my application definitions of normally and at the top of configurations that B think it says rails . application . are outside rock so what is doing that here inside of the application itself but we have got the controller at the bottom of the file here and I have to call initialize on Rails application this runs all the initializers in all those of books in real size and finally everybody said every rock of files can and in Rwanda some rack compatible application so this is the smallest practical Rails application for all intents and purposes the use of the whole
of the and if and how do this and the beautiful all I
know it really is the work of art
the but a lot happening here even though this is like a 10 line Rails application but you're still running if you if even if you just of require real all the top your running dozens of initializers aren't tons of features are still in this Rails application even though it's tender worldwide whatever the most of those where I think you can see this the most is in the middle stack so there is a stack of rack middleware that each request passes through before it even gets to your router and there was a talk this morning about rack middleware and more about how that works but all you know is this is the things that wrap your application and and that like that they did or like filters through for the request so 1st the request goes through this middleware now and now and now and so on so forth at the very bottom here is where the we but call the router gets passed after the router and all these middleware do something so as some examples here of action dispatch request ID as a unique ID headed to every request of rack runtime and the runtime headed says this request took x amount of time of remote IP protects you from IP spoofing attacks but we have cookies session store we have the flash of middleware that runs the flash trash and and we have some middle where at the end for the HDP caching so all these middleware all doing things and you don't have to configure any than that just the d faul rails nowhere stack what some of these can be
eliminated down rails 5 so we have this Newton Fig . called the API only if you set this to true but it will remove the session-based
where down here I think it removes some more but it's sort of like the a sort of similar to when you call rails new dash API like but 1 of the things go do is say only
equal true are you going delete middleware and on your own so if all of this sort of boilerplate doesn't appeal to you
what's all this boilerplate as an appeal to you you
can just delete each middleware that you don't your
application doesn't use from on its own now why would you do that but middleware are not
free of each 1 of these but is gonna cost sometimes that this stuff it's not 0 and and some of them are already use some saw features of Ruby like blocked call and and when there's 20 of them here but does start to add up on minima talk a little more about that in a 2nd
but here's another hidden up rails modularity features were trying strip down our ap even further and is a little class called action control metal which is pretty
cool I'm actually control based inherits from this class inherits from action control metal and also Asher based is is action control of metal plus but tonal models like 50 models like like a tall and all
models in there these are just some of them like cookies strong parameters force SSL etc etc and if all these things
the really mean anything you have a and of
found that has that's
OK and it's kind of intended um but if you do feel like you wanna dig into how action controller-based works a little bit more the idea of a thin controller appeals to you all you can inherit directly from action control metal and build your own controller and so even the render method is actually a factored out into its own models so if you inherit control metal basically like the only thing you can do is look at the rack response directly and say OK the response body is this and you can even call render this point and so like this isn't a hundred per cent equivalent to our to our hello world application because a small set the correct content types but what you can basically start here and then to start including all the diffraction control models from that you need for this particular controller and his
mother reliably mind all controls are actually just rock apps but so this is our controller and can just run that controller interactive of file as if it was a complete application of the dot action method but takes a symbol which corresponds to an action and we think run the dot call method on this the object it's returned by this and it's just it's just a rock applications up OK so now the time rack applications rack applications and racks sits between rails in a web server rack is like the common language that web servers and rail speak this is what allows you to use promo Web break in all the tree and without having to change any of your code because rails just speaks rack and the web server that by means all just speak rack as well so that they have like a common interface right but and that interface is a rack application Arak application is
just an object the response to call and returns an array of 3 values the first one is the HTTP status code the 2nd 1 a hash slide is wrong exonerate saying what is a hash which is the rack and our environment hash and the 2nd 1 is of the body of which I think has to respond to the each method so usually of are responses are going to be a race correct responded on each the but so are actually fire
controllers just by themselves or rack applications and when the router is of the roof rails router is basically working with your Rails application it a cat doesn't know that each endpoints are you you when you called get hello hello index they're rails controller is basically functionally the same to it as any other rock application which allows you to do some kind of cool things but
you can send routs to Sinatra applications to Sinatra applications are rock applications but as far as I know Minami cite Lotus is also a applications you just mount of Lotus application and only applications inside of rails you can also wrote about directly aprox from which is contrary I because they are rack applications that respond a call to the etc. the so which use
that a minute I'm would could use that and we can make
our our Hello world application even simpler right by just writing directly to a Proc rather than even bothering with a controller the and if the
accidental metal of sound interesting to you but like you don't wanna start from 0 this is cool method it's kind of hard to read and sorry it's very small and action draw based . without modules . each they give a block and you can basically star with actor controller and give you a list of modules minus the ones you don't want so we're saying every module action troller base minus programs wrapper in streaming include all those so you can kind of start from of the map like all the action toward based models instead of starting from zero in including them 1 at a time OK by the way when it
comes to to modularity I think it's important to know that not all models need to be active record that you put anything you want in the models folder actually doesn't have to hear from ActiveRecordBase but ActiveRecordBase is just a class that like the action can actually control metal just includes or extends a bunch of other modules are that's literally it if you look at at the based on RBE wherever it is an inaccurate code from it's not any more complicated than that so whatever is in your models folder that it doesn't have to hear from activated basis pose a cool and stuff in active model of which can make your plane Ruby objects sort of walking quack like an active record based object but not actions do of persistence or database and so check out active model but for a way of modularizing your reals applications even further
so like I said I was a a talk with a performance stories is what it is and if your Rails application is like not doing anything meaningful or is an API only application which is not using several the main components of rails but if you don't require all points to the Rails framework and you can save the memory so if you require for example sprockets I think you can save like 10 megabytes of memory per process which is like not small potatoes I mean like when that across 4 processes in in a typical and server like that adds up a little bit and if you start getting back to the rate of law the middle where you can say the coupled MS and per request so that when I talked about configure middleware that delete some of those if you delete a half a dozen of mutants shapes milliseconds off you off here on request time there not really that big of a gain obviously I mean most real servers are 100 millisecond response times right so shaving 6 ms 10 ms off spent on a big deal to you unless you get of scale and like you have an average response time of 50 milliseconds and so let's like 10 % like also great on I think the performance story here is really not as interesting and as the
modularity story in the cold organization story so in general is what you realize a framework code is nowhere near as important as application code the rails is not slow your application slow the way you use Rails is slow and but you're not starting from our from a you know of of 5 yard the but with the opposite of a head start you you're not starting negative here but you're starting at the same level that pretty much everyone else's but and it's the application that everything that comes after rails knew that makes application slow
OK now the insanity of code golf so this
is the applications we left it last and this is the sort of the smallest practical Rails application that makes any sense
but and I use the world's smallest and that but th and
this beautiful that is actually is so this is a a a a shell command will call rack up Repast back up a batch or option which is going to require library would require national real-time and then the dashed the option is basically saying OK this training is configure our you with the same thing I think that's be actually stands for builders in racked builder and then when a give it a string that's like but plans are figure are you were going to run this a anonymous class which inherits from Wales application and then this block here is the body of the class we start the so the secret key based on a wide chasm like not using any Cedar Key base related things like sessions but here's a local golf trick this question mark X is the same thing as quote x quote is just 1 character less I think that's better there for historical reasons because like Ruby 1 8 had this weird thing where like if you did a question mark exit like return a number like you return ASCII code or whatever and they couldn't get rid of that so they made a return a letter instead so as to make it doesn't matter because we distance which is what a 2nd Fig secretly based like something that makes will shut up it is is very insecure don't do this but this is a toy application so it's fine and we call that initialize on it to run all the real size of and set up the the the Rails application and the seventies is actually do anything it's 404 was a service but because there's no roots so all Israel's obviously do is Cervantes 404 responses part of the of application yes it affects the you could make it more useful quote unquote useful by by adding rout start drawing so you know but to some Proc here but then you deserve an application that you know the served 200 responses is anaphora force so this is impractical may well
no not really but this true class applications I can think of for the as well as applications that fit in a file a or a pronoun a tweet of test suites for GM such engines I think plenty of gems that needed a way to test with a wide Rails application on sometimes people just you rails new inside of the test we directory which cream is like huge you know wine monstrosity which is longer than the entire test suite but you need to do that you can just use our or 1 line at a Rails application and it's gonna be functionally the same as a real Rails application and so what we use that technique in the Raven ruby gem which I maintain that's the Ruby client for the century error notification service and and I think every rails are every region that the cetaceans Rails application should be using a similar approach I'm and also work API only applications I'm not the kind of guy that does like but single page applications all users my my real Servers like a the a back end for my angular wrapper or whatever but if you are if you're not rendering HTML responses and maybe your Rails application doesn't have anything to do with assets in all the assets are handled by engine x or whatever and there's a lot of the the Rails framework that you cannot load and sprockets an Active record of the most important ones as far as memory goes up and had not loading of sports the Rails framework will will say you and a little bit of memory will say had space of not having to think about these components being in in Europe global namespace but the reality is that most
applications need 80 % of war rails provides and so you know when you see Sinatra and such as like requires get of slash due in and all that is really nice you know the reality is is that an application that you did that you get paperwork on every day but is gonna need about 80 per cent or more of of all these things like a provided force in the Rails framework and so that it may not win any blog post beauty contests and I think the way the rails new set up is actually the way that most of us would but minimizes the work for the MLE for the majority of applications
I so wells is modular you just maybe never needed it so you know what
today but try not using rail slash all in your Rails application try trialing the parts the framework that you need but to actually test to see if this makes any difference to you I suggest using derailed benchmarks it has little tool that will help you see how much memory you're using on start up so when you're not requiring any spots the framework right you wanna see that number go down in that the author which is the memory in the front row of and also if you're thinking about deleting middleware to save some response time that you can use Apache bench at the B 1 2 pounder application with the tons request per 2nd and see if it's actually improving of those times consider actually draw metal and on an active model just take a look at those those classes of in the codebase and see if it anyway you can simplify your models or controllers maybe you're using always features that you don't actually need and then the next time so you maybe maybe the XI YI reaches you would reach Sinatra next time and you would to reach for Cuba or some other simple really framework try just starting from a one-line Rails application and see what I could to instead but so this talk
is available in the form of a github repo and if I skips if work I went fast 3 parts and you wanna know OK hunter liked it from rails to a tweet it's available here in the form of a commit log so if you it'll this you neighbor backslash tree length on hub on you can follow the commit log long line by line of that with some really non commit messages about why I did certain things I did a lot of more the background of it and this presentation is slides the available here at neighbor Capek slash right rails lightweight stack actually that's rails underscore lightweight underscore stack markdowns screwed up there I the V. at a now we've also there's a bunch of different 1 I 1 file rails applications in like different ap but different practical use is like the difference like API only uses for this kind of stuff lots of other resources there like this said like my courses The complete guide reals performances available reals b . com all I also have tweeted I've tweeted the one-line rails up with the 1 3 reels application that might we're adding Brokeback and you want them retweeted there so that you very much for your time few and if I had my my good
Expertensystem
Bit
Kartesische Koordinaten
Binder <Informatik>
Elektronische Publikation
Framework <Informatik>
Computeranimation
Menge
Twitter <Softwareplattform>
Datentyp
Mereologie
Vorlesung/Konferenz
Zusammenhängender Graph
Softwareentwickler
Vervollständigung <Mathematik>
Framework <Informatik>
Web log
Elektronischer Programmführer
Mereologie
COM
Schlussregel
Elektronischer Programmführer
Vollständigkeit
Computeranimation
Assoziativgesetz
Bit
Gewicht <Mathematik>
Besprechung/Interview
Fibonacci-Folge
Kartesische Koordinaten
Softwareentwickler
Gerade
Computeranimation
W3C-Standard
Objekt <Kategorie>
Benutzerbeteiligung
Framework <Informatik>
Vererbungshierarchie
Objektorientierte Programmiersprache
Vererbungshierarchie
Web-Designer
Marketinginformationssystem
Optimierung
Framework <Informatik>
Computeranimation
Digitales Zertifikat
Modul <Datentyp>
Datennetz
Beweistheorie
Programmverifikation
Kontrollstruktur
Zellularer Automat
Schlussregel
Kartesische Koordinaten
Beweistheorie
Computeranimation
W3C-Standard
Assoziativgesetz
Negative Zahl
Framework <Informatik>
Modul <Datentyp>
Elektronischer Programmführer
Web-Applikation
COM
Kartesische Koordinaten
Vollständigkeit
Framework <Informatik>
Computeranimation
Quader
Web log
Schlussregel
Elektronische Publikation
Framework <Informatik>
Quick-Sort
Computeranimation
Internetworking
Benutzerbeteiligung
Eigentliche Abbildung
Datenstruktur
Textbaustein
Maschinelles Sehen
Gerade
Demo <Programm>
Elektronische Publikation
Punkt
Volumenvisualisierung
Indexberechnung
Elektronische Publikation
Datensicherung
Code
Computeranimation
Reelle Zahl
Rechter Winkel
Gamecontroller
Volumenvisualisierung
Konfigurationsraum
Gerade
Schreib-Lese-Kopf
Desintegration <Mathematik>
Versionsverwaltung
Kartesische Koordinaten
Computeranimation
Eins
Erneuerungstheorie
Informationsmodellierung
Bildschirmmaske
Task
Prozess <Informatik>
Gamecontroller
Endogene Variable
Ganze Funktion
Videospiel
Filter <Stochastik>
Elektronische Publikation
Freier Parameter
Booten
Schlussregel
Elektronische Publikation
Bildschirmsymbol
Modelltheorie
Programmierumgebung
Verzeichnisdienst
Textbaustein
Telekommunikation
Subtraktion
Punkt
Selbst organisierendes System
Gruppenoperation
Regulärer Ausdruck
EDV-Beratung
Kartesische Koordinaten
Mathematische Logik
Computeranimation
Multiplikation
Informationsmodellierung
Domain-Name
Skript <Programm>
Datenstruktur
Default
Leistung <Physik>
App <Programm>
Sichtenkonzept
Relativitätstheorie
Schlussregel
Elektronische Publikation
Quick-Sort
Datenfeld
Gamecontroller
Server
Verzeichnisdienst
Bit
Elektronische Publikation
Sichtenkonzept
Ausnahmebehandlung
Booten
Klasse <Mathematik>
Gruppenoperation
Volumenvisualisierung
Kartesische Koordinaten
Elektronische Publikation
Computeranimation
Informationsmodellierung
Verzeichnisdienst
Gamecontroller
Mustersprache
Mereologie
Minimum
Gamecontroller
Bitrate
Ganze Funktion
Konfigurationsraum
Gerade
Modul
Faserbündel
App <Programm>
Bit
Wasserdampftafel
Kartesische Koordinaten
Elektronische Publikation
Computeranimation
Quelle <Physik>
Web Services
Menge
Reelle Zahl
Last
Perspektive
Datentyp
Server
Skript <Programm>
Softwareentwickler
Programmierumgebung
Verzeichnisdienst
Faserbündel
Faserbündel
Elektronische Publikation
Prozess <Physik>
Punkt
Kartesische Koordinaten
Ordinalzahl
Bitrate
Elektronische Publikation
Code
Computeranimation
Quelle <Physik>
Reelle Zahl
Residuum
Binärdaten
Server
Inhalt <Mathematik>
Konfigurationsraum
Verzeichnisdienst
Fehlermeldung
Subtraktion
Punkt
Sichtenkonzept
Datenhaltung
Gruppenoperation
Kartesische Koordinaten
Framework <Informatik>
Computeranimation
Gruppenoperation
Eins
Loop
Last
Last
Prozess <Informatik>
Mereologie
Server
Gamecontroller
Zusammenhängender Graph
Konfigurationsraum
E-Mail
Gerade
ATM
Fehlermeldung
Subtraktion
Schlussregel
Framework <Informatik>
Computeranimation
Gruppenoperation
Komponente <Software>
Last
Benutzerbeteiligung
Mereologie
Wort <Informatik>
Zusammenhängender Graph
Computerunterstützte Übersetzung
Datenstruktur
Quelle <Physik>
Total <Mathematik>
Punkt
Selbst organisierendes System
Gruppenoperation
Adressraum
Kartesische Koordinaten
Framework <Informatik>
Computeranimation
Datenhaltung
Methodenbank
Datensatz
Arithmetische Folge
Reelle Zahl
Primzahlzwillinge
Skript <Programm>
Softwareentwickler
Default
Bildgebendes Verfahren
Autorisierung
Elektronische Publikation
Datenhaltung
Plug in
Schlussregel
Quellcode
Elektronische Publikation
Knotenmenge
Entscheidungstheorie
Quelle <Physik>
Twitter <Softwareplattform>
Mereologie
Server
Faserbündel
Tabelle <Informatik>
Interaktives Fernsehen
Kartesische Koordinaten
Booten
Programmierumgebung
Elektronische Publikation
Programmierumgebung
Computeranimation
Bruchrechnung
Konvexe Hülle
Gruppenoperation
Volumenvisualisierung
Systemaufruf
Routing
Kartesische Koordinaten
Elektronische Publikation
Binder <Informatik>
Computeranimation
Echtzeitsystem
Wurzel <Mathematik>
Rechter Winkel
Reelle Zahl
Minimum
Mereologie
Gamecontroller
Konfigurationsraum
Schlüsselverwaltung
Gerade
Zeichenkette
Caching
Konvexe Hülle
Rechenzeit
Cookie <Internet>
Gruppenoperation
Multiplikationssatz
Volumenvisualisierung
Rechenzeit
Kartesische Koordinaten
Computeranimation
Keller <Informatik>
Strategisches Spiel
Middleware
Flash-Speicher
RPC
Wurzel <Mathematik>
Caching
Cookie <Internet>
Router
Speicher <Informatik>
Gerade
Caching
Rechenzeit
Cookie <Internet>
Multiplikationssatz
Textbaustein
Quick-Sort
Computeranimation
Strategisches Spiel
Caching
Extrempunkt
Rechenzeit
Gruppenoperation
Klasse <Mathematik>
Cookie <Internet>
Kartesische Koordinaten
Computeranimation
Strategisches Spiel
Keller <Informatik>
Gruppenoperation
Middleware
Methodenbank
Gamecontroller
Textbaustein
Caching
Parametersystem
Cookie <Internet>
Gruppenoperation
Klasse <Mathematik>
Besprechung/Interview
Multiplikationssatz
Volumenvisualisierung
Rendering
Computeranimation
Informationsmodellierung
Modul <Datentyp>
Flash-Speicher
Gamecontroller
Vererbungshierarchie
Cookie <Internet>
Streaming <Kommunikationstechnik>
Bit
Punkt
Gruppenoperation
Formale Sprache
Interaktives Fernsehen
Kartesische Koordinaten
Äquivalenzklasse
Code
Computeranimation
Informationsmodellierung
Benutzerbeteiligung
Gamecontroller
Datentyp
Endogene Variable
Volumenvisualisierung
Kontrollstruktur
Inhalt <Mathematik>
Schnittstelle
App <Programm>
Indexberechnung
Systemaufruf
Symboltabelle
Elektronische Publikation
Gruppenoperation
Objekt <Kategorie>
W3C-Standard
Rechter Winkel
Gamecontroller
Server
Volumenvisualisierung
Kartesische Koordinaten
Code
Computeranimation
Gruppenoperation
Objekt <Kategorie>
Rechenschieber
Automatische Indexierung
Gamecontroller
Endogene Variable
Hash-Algorithmus
Gamecontroller
Router
Computerunterstützte Übersetzung
Programmierumgebung
Umwandlungsenthalpie
Wurzel <Mathematik>
Systemaufruf
Kartesische Koordinaten
Routing
Innerer Punkt
Computeranimation
Gruppenoperation
Kartesische Koordinaten
Mailing-Liste
p-Block
Modul
Computeranimation
Eins
Mapping <Computergraphik>
Informationsmodellierung
Umwandlungsenthalpie
Wurzel <Mathematik>
Rechter Winkel
Gamecontroller
Optimierung
Innerer Punkt
Ebene
Punkt
Prozess <Physik>
Klasse <Mathematik>
Gruppenoperation
Kartesische Koordinaten
Gesetz <Physik>
Code
Framework <Informatik>
Computeranimation
Methodenbank
Informationsmodellierung
Datensatz
Reelle Zahl
Mittelwert
Zusammenhängender Graph
Response-Zeit
Konfigurationsraum
Datenhaltung
Objektklasse
Bitrate
Modul
Quick-Sort
Objekt <Kategorie>
Middleware
Festspeicher
Basisvektor
Server
Modelltheorie
Methodenbank
Framework <Informatik>
Selbst organisierendes System
App <Programm>
Code
Kartesische Koordinaten
Code
Framework <Informatik>
Computeranimation
Übergang
Schreib-Lese-Kopf
Wellenpaket
Nabel <Mathematik>
Klasse <Mathematik>
Automatische Handlungsplanung
Zahlenbereich
Kartesische Koordinaten
Code
Computeranimation
Web Services
Endogene Variable
Programmbibliothek
Wurzel <Mathematik>
Figurierte Zahl
Konvexe Hülle
Stellenring
Volumenvisualisierung
Systemaufruf
Routing
p-Block
Quick-Sort
Konfiguration <Informatik>
System F
Forcing
Wurzel <Mathematik>
Mereologie
Stapelverarbeitung
Schlüsselverwaltung
Zeichenkette
Bit
Web log
Klasse <Mathematik>
Kartesische Koordinaten
Raum-Zeit
Framework <Informatik>
Computeranimation
Eins
Homepage
W3C-Standard
Client
Datensatz
Softwaretest
Web Services
Reelle Zahl
Front-End <Software>
Endogene Variable
Wrapper <Programmierung>
Zusammenhängender Graph
Ganze Funktion
Gerade
Softwaretest
Suite <Programmpaket>
Namensraum
Einfache Genauigkeit
Ähnlichkeitsgeometrie
Elektronische Publikation
Suite <Programmpaket>
Forcing
Twitter <Softwareplattform>
Last
Festspeicher
Server
Gerade Zahl
Verzeichnisdienst
Fehlermeldung
Autorisierung
Subtraktion
Datenmodell
Zahlenbereich
Kartesische Koordinaten
Framework <Informatik>
Computeranimation
Middleware
Informationsmodellierung
Modul <Datentyp>
Rechter Winkel
Festspeicher
Mereologie
Gamecontroller
Response-Zeit
Benchmark
Dicke
Subtraktion
Elektronischer Programmführer
Kartesische Koordinaten
Twitter <Softwareplattform>
Elektronische Publikation
Kombinatorische Gruppentheorie
Login
Hinterlegungsverfahren <Kryptologie>
Computeranimation
Rechenschieber
Netzwerktopologie
Bildschirmmaske
Twitter <Softwareplattform>
Reelle Zahl
Mereologie
COM
Elektronischer Programmführer
Vollständigkeit
Repository <Informatik>
Message-Passing
Gerade

Metadaten

Formale Metadaten

Titel Make a Rails App with 140 Characters (or less)
Serientitel RailsConf 2016
Teil 04
Anzahl der Teile 89
Autor Berkopec, Nate
Lizenz CC-Namensnennung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben.
DOI 10.5446/31533
Herausgeber Confreaks, LLC
Erscheinungsjahr 2016
Sprache Englisch

Inhaltliche Metadaten

Fachgebiet Informatik
Abstract Ever felt jealous of "other" Ruby web frameworks whose applications can be run from a single file? Did you know Rails can do this too? Starting from a fresh "rails new" install, we'll gradually delete and pare away to find the beautiful, light, modular and object-oriented web framework underneath. Eventually we'll end up with a tweet-size Rails application! We'll learn about Rails' initialization process and default "stack", and investigate the bare-bones required to get a Rails app up and running.

Ähnliche Filme

Loading...