WordPress is one of the best CMS available for free today. It come with a huge community that provide lot of themes and plugin for almost every purpose. This great flexibility have a downside, its heavy to lo ad and view. The page view require a lot of HTTP calls and usually it make the page loading very slow.
As announced some days ago in this tutorial we will see how to build a chat application using AngularJS as frontend and Loopback for backend. A demo can be found here. The communications from AngularJS to the backend will be made via REST API, meanwhile the real time messaging will be handled with Socket.io. The chat will be available only for registered users so we need to setup the authentication process in both AngularJS and in Loopback. A user, once logged in, can join an already created room or can create new rooms as he like.
In this part of the tutorial series we will see how to create a page where, after the reservation has been made, the customer can pay it. Laravel itself come with a module to directly integrate with Stripe, it’s name is Cashier. Stripe is an online credit card payment system where, after a simple registration, you can start receiving payment via credit card using some exposed API and pay a little commission to it.
In the first two parts of this tutorial we created the backend of the application where the hotel owner can create room types and assign it a price for a certain dates. Now we need a final user interface where the customers can search a room and check for availability and finally book it.
This short article will show how to run JQuery code after a data retrieve and DOM complete render. Sometimes there is component that’s need to be initialized and this is required when the HTML structure is completely rendered. If you try to initialize them before the DOM is rendere it will not work.