Coder Social home page Coder Social logo

simple-ajax-recipe's Introduction

Simple Ajax Recipe

This simple Buffalo application shows how you can use the out of the box features of the Buffalo asset pipeline to quickly add Ajax to an application.

Installation and Setup

  • Make sure you have the latest version of Buffalo install and working.
  • Make sure your Node and Yarn installations are relatively up to date.
$ go get -u -v github.com/gobuffalo/simple-ajax-recipe
$ cd $GOPATH/github.com/gobuffalo/simple-ajax-recipe
$ buffalo setup

Running

Run the following command to start the Buffalo dev server and then navigate to http://localhost:3000. It might take a second for Node to compile the front end stuff. Sorry about that.

$ buffalo dev

jQuery UJS

The heart of all this is in the https://github.com/rails/jquery-ujs/wiki plug-in that ships with Buffalo by default.

What Next?

We recommend you heading over to http://gobuffalo.io and reviewing all of the great documentation there.

Good luck!

Powered by Buffalo

simple-ajax-recipe's People

Contributors

markbates avatar stanislas-m avatar paganotoni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.