Alle Minuutin Luku
Happy to announce the release of Liferay Portal 6 Preview. You can download the files from SourceForge here.
The RC will be released in a few weeks with the GA to follow. Plugins for 6 will be released along with the GA.
Note that this is a Preview release and should not be used in production.
Enjoy!
Related Assets...
More Blog Entries...
Introduction
So I've been working on my Objects Rule! series and have been working on an app I plan on showing off soon, but I realized that there is probably a gap explaining, well, how do you get started?
I mean, it's one thing to go and check the client extensions sample repo here: https://github.com/liferay/liferay-portal/tree/master/workspaces/liferay-sample-workspace, find the sample React custom elements such as
liferay-sample-custom-element-2(a simple React CX),liferay-sample-custom-element-4(a CX using Liferay's React), orliferay-sample-custom-element-5(a CX using Liferay's React and Clay), copy them and try to get them to work...But that's actually kind of hard and might be prone to problems...
It's hard because if you need to include some other library, well how do you do that if you're using Liferay's React? How will it reconcile and load the dependencies?
And if Liferay's React changes version in the next quarterly release, will your custom element continue to work or will it require an update? How will you know if your custom element starts failing because of a Liferay React version bump?
And besides, if you're a React developer (not necessarily a Liferay developer), you'll likely want to use standard tooling you're familiar with to create your React application, not copying and modifying Liferay's custom element...
So in this blog, I'm starting from the perspective of "I'm an experienced React developer who uses standard React tools, how can I get these working under Liferay?"
Hopefully this will prove to be useful to some of you out there...
Preparing a Workspace
Since I'm an experienced React developer but maybe new to Liferay, some of what follows is going to be new to me, but it is required to develop for Liferay.
First thing I need is to have what is called a Liferay Gradle Workspace:
So how do we get a Liferay Gradle Workspace for our React elements?
Powered by Liferay™
Legal
Compliance
Privacy Policy