How to integrate spring.io into wordpress? - spring

I am working on a project and I was simply wondering how to integrate a backend surface made in spring.io into a wordpress website?
I read about converting wordpress into spring.io using JSON but I want to integrate a backend service for a front end wordpress.
If it works the results will be a backend service like database works with the wordpress website.

You should give the community project Spring Content a look. The aim of this project is to quickly and easily create cloud-native, agile "Content Services" with the Spring framework. Essentially, exactly what you are asking for I think.
Best of luck!

Related

OctoberCMS (Laravel) + Vue.js + Tailwind CSS Best Setup

I am new with OctoberCMS. There are few tutorials in the internet. May I ask what is the best setup may I use or possible setup may I use with this web tech stacks?
We have a project and the requirement is we need to use octobercms so that's why we have to used this octobercms.
Possible Setup:
Micro Service Setup?
Two seperate folder for OctoberCMS and Vue.js. The communication would be an API Request calls.
Then for the deployment part for the production, we will use the dist folder from Vue.js Folder. I'm not 100% sure but I think this will be my initial thought that will be possible.
May I ask for any suggestions or clarifications on what will I use project setup. Thank you.
While it would be entirely possible to have two separate web properties with October providing the API, you can also just use Vue within an October CMS theme itself. See https://github.com/scottbedard/vuetober for more information on doing that.
If your project is more of a traditional CMS requirement then I would recommend at least trying the Vuetober approach. If it's a lot more complex and is mostly utilizing October for its powerful backend features, then the API-only approach could work fine too.
The main reason you'd want to go with running vuetober is if you were going to be utilizing the AJAX framework provided by October. You can still technically use it even when October is being run as a headless CMS just providing an API, but it gets more complicated with CORS and some other stuff you have to setup to make sure it works properly.

Is there any way to figure out the website whether it's made by using spring framework or not?

I know that there are some sites which can figure out which tools have developers used when they build the web site.
For example, I can figure out whether the site has been built with wordpress or not from this page www.isitwp.com
Is there any ways to figure out what kind of framework the web site is using? or figure out the web site which has been built by using spring framework?
How can I know?

Building an app with Yeoman + Laravel

I would like to build an application using Laravel as backend and Yeoman to build and manage my frontend. I know quite a few of these technologies.
I did not found a lot of worflows that would explain how to communicate between separate Laravel app and yeoman app (on different servers e.g). Maybe CORS is a good option.
Is anyone ever try to separate backend and frontend (with these technologies)?
Yeoman is not a front end framework - rather an application scaffold for generating a starting point for your front end.
Angular JS is my preferred option when using Laravel as a backend. You can use Yeoman to set up an Angular front end using this:
https://github.com/yeoman/generator-angular
An excellent tutorial series that helped me a lot when setting AngularJS up to talk to Laravel is here:
https://github.com/davemo/end-to-end-with-angularjs
Included is quite an extensive explanation on AngularJS security.
The Laravel backend should be setup as an API in the first instance to accept requests, heres a starting point to setup a basic API in Laravel from Laracon 2013
https://github.com/akuzemchak/laracon-todo-api
Laracasts also has a great series for building API's:
https://laracasts.com/series/incremental-api-development
Laracasts is a paid subscription service but would fully recommend it to Laravel beginners/intermediates
I know it's a long time ago since the question was asked, but perhaps it helps someone on it's way..
I would start with this package:
https://github.com/jadjoubran/laravel5-angular-material-starter
Overview: http://www.laravel-angular.io/#/
which gives you:
Laravel 5.1
Angular
Angular Material
and much other stuff, preconfigurated, out of the box..
In short:
CORS is a bad option.
Issue all the requests to the frontend server and make it forward backend-specific requests to the backend server.
In production have all the stuff served exclusively by backend server.
Here's how to achieve that for Java-based frameworks and also for Django: https://stackoverflow.com/a/20680962/1432478
Should look similar for your framework & build system.

Can I use spring liferay for mobile web development

Can I use spring liferay for mobile web development?
This is very basic question but I tried on google but I can't find any tutorial on this. Can anyone suggest anything on this.
Yes you can use it I think, since Spring is a server side java framework and for mobile web-development I don't think you need to do anything special apart from customizing the look-and-feel of the page which can be done through themes in liferay.
Starting from Liferay 6.1 you can even define Mobile Device Rules.
For a quick demo of this you can go to Liferay site, and try to change the window size of the browser and then see how the page changes. Even you can try to view this site in a mobile phone.
Hope this helps.

Magento webservice api expose blocks

We would like to expose some Magento blocks through the webservice API like Magebridge does. Actually Magebridge does exactly what we want but this is too tightly integrated with Joomla to re-use for another CMS.
Thanks!
Jasper
I used this article a few years ago to expose a few custom web service APIs. Between that and the MageBridge code you should have enough example code to get started.

Resources