Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Single Page application with Bootstrap

I am pretty new to SPA. I'd like to known if it is possible to build a SPA with only Bootstrap or I have to use a framework like Jquery mobile or angular ?

Thanks

like image 204
inttyl Avatar asked Apr 05 '17 18:04

inttyl


People also ask

Is bootstrap single-page application?

Bootstrap is only CSS framework. It makes your application looks better. Ok, you can use custom datepickers, modals etc, but usually this functionalities are implemented in CSS frameworks like Boostrap by jQuery.

What is single-page application with example?

A single-page application is an app that doesn't need to reload the page during its use and works within a browser. Think of the apps you use daily: Facebook, Google Maps, Gmail, Twitter, Google Drive, or even GitHub. All these are examples of a SPA.

Is Netflix single-page application?

Some other single page application examples are Google Maps, Gmail, Netflix, Airbnb, Paypal, and Pinterest.


2 Answers

Bootstrap is CSS, HTML and JavaScript Framework which contains HTML- and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions.

To Build a SPA application you have to use JavaScript libraries or Frameworks.

From http://tutorialzine.com/2015/02/single-page-app-without-a-framework/ you can get an idea of SPA without javascript frameworks.

There are a lot of open source JavaScript frameworks that help with building SPA, such as:

  • Angular
  • React
  • Ember
  • Aurelia
  • Vue.js
  • Cycle.js
  • Backbone
like image 54
Mohan Singh Avatar answered Sep 30 '22 09:09

Mohan Singh


You have to use JS framework.

Bootstrap is only CSS framework. It makes your application looks better. Ok, you can use custom datepickers, modals etc, but usually this functionalities are implemented in CSS frameworks like Boostrap by jQuery. You can check this page to confirm it. You need JS framework for SPA (or create a new one).

like image 43
Artur Czopek Avatar answered Sep 30 '22 08:09

Artur Czopek