Sync 3.0 beta release

Company Blogs 6 ottobre 2014 Da Bruno Farache Staff

 

   Sync Beta 3.0 is out!

 

 

We are very close to release Sync 3.0 and need your feedback!

We have made a complete UI revamp since the last version, take a look at the screenshots bellow:

 

           

 
 
           
 
 
 
           

 

Very neat, isn't it?

 

How can I become an Android Beta tester?

 

If you have an Android device and want to become a beta tester, subscribe to this Google Group:

https://groups.google.com/forum/#!forum/liferay-sync

You'll receive instructions on how to install the app once you subscribe to it.
 

How can I become an iOS Beta tester?

 

We are still working on the iOS app and will release a beta version soon.

Apple's TestFlight app only runs on iOS 8 and we can only deliver the app up to 25 devices, if you want to try it out, hurry up and fill this form:

http://goo.gl/forms/YOFKdNW4kd

We will contact as soon as it is available.

Liferay Mobile SDK Release

Company Blogs 14 febbraio 2014 Da Bruno Farache Staff

Dear Liferay developers, we're pleased to announce the release of Liferay Mobile SDK 1.0 beta!

 

At Liferay, we have a team of engineers focused on developing native mobile apps and we've learned a lot during the development of these apps. We thought it was time for us to share our knowledge with our community.

 

We know it is pretty easy to consume Liferay's RESTful web services, however, there are some nuances that can be trickier if it's the first time you're trying to develop a mobile app that accesses them.

 

Our Liferay Mobile SDK makes it easier to create mobile apps that are connected to Liferay portals, it takes care of authentication, services discovery, JSON parsing and server error handling for you. It hides complexity from the developer and almost feels like you are making local service calls from a plugin.

 

For those developers who are used to our Service Builder, the Mobile SDK can be seen as a client side code generator. For each new Liferay Portal version we release, we will be releasing a new Mobile SDK version that you can use to consume portal core services.

 

Since the SDK is auto-generated, it also means that you can generate client side code for your custom portlet services as well.

 

Right now we support iOS and Android, but this is only the beginning: we have plans to include support for more platforms in the future!

 

Say for example you want to develop an Android app that displays the latest blogs posts from your portal instance, that's how you would do with the Mobile SDK:

Session session = new SessionImpl("http://localhost:8080", "test@liferay.com", "test");  BlogsEntryService service = new BlogsEntryService(session);
JSONArray jsonArray = service.getGroupEntries(10184, 0, 0, -1, -1);

Easy, isn't it? All remote portal services are available in the SDK.

 

If you are interested in more details, the binaries, source code and documentation can be found here:

https://github.com/liferay/liferay-mobile-sdk 

We have also created two sample apps that show how the SDK can be used:

https://github.com/brunofarache/liferay-mobile-sdk-sample-android (Android)

https://github.com/brunofarache/liferay-mobile-sdk-sample-ios (iOS)

 

 

If you got any questions or feedback about the new Liferay Mobile SDK, don’t hesitate in posting in our forum:

 

https://www.liferay.com/community/forums/-/message_boards/category/33008690

 

 

We are looking forward to see lots of amazing apps developed with the Mobile SDK! Happy coding!

 

Liferay Sync Mobile 2.1

Company Blogs 5 agosto 2013 Da Bruno Farache Staff

We just released a new update for Sync Android and iOS!

The most important improvements are:

  • Browse files while you are offline
  • Move folders and files
  • Performance boost

While you are online, navigating through folders, Sync caches the structure and let you continue to navigate if your internet connection goes down later on. For example, if you are on a plane with no connection, you can still view those important documents that were previously downloaded.

Sync is also making less and smarter requests which improves the overall user experience, it feels like you are accessing local files.

Give it a try and let us know how it goes, don't hesitate to contact me if you run into problems!

Liferay Sync Mobile 2.0

Company Blogs 8 maggio 2013 Da Bruno Farache Staff

We are pleased to announce that Sync Mobile 2.0 has been released!

 
In addition to having incorporated several bug fixes, this version represents the integration of noteable, new features:
 
  • Tablet Support: You can, now, use Sync on your iPads and Android tablets.
  • Revamped UI: Allows you to fully take advantage of larger screen sizes while providing for a heightened file-previewing experience.

 

Here are some screenshots of Sync running on an iPad:

 

 

 

You can install Sync from Google Play and App Store

 

 

Liferay Sync Mobile update

Company Blogs 4 febbraio 2013 Da Bruno Farache Staff

We just released updates to Sync Android and iOS!
 
This update includes some nice features:
  • Renaming of files and folders
  • Upload and deletion of multiple files
  • Mark files as favorites for offline access
  • Display of metadata such as author, upload date, version, etc
  • Open and share files with external apps
  • Better documents navigation
  • And lots of bug fixes
You can install Sync from Google Play and App Store.
 
We created a new Jira project to track all issues related to our mobile apps:
 
 
If you find any bugs or have feature requests, please use this project.
 
We hear you, our next release will include support to tablets, stay tuned!

Jabber integration

Company Blogs 16 giugno 2011 Da Bruno Farache Staff

We just integrated our Chat portlet with Jabber!

This means portal users can now choose their preferred desktop chat client (such as Pidgin, Trillian or Adium) to chat with other users, here's an interesting conversation between me and Eduardo:


The beta version is in plugins trunk and will be available on 6.1.

More details on installation and setup can be found here:

http://www.liferay.com/community/wiki/-/wiki/Main/Jabber+integration

Roadshow no Brasil

Company Blogs 3 novembre 2010 Da Bruno Farache Staff

(English version at the bottom)

No último dia 27 de outubro realizamos nosso primeiro roadshow na América do Sul em conjunto com SEA Tecnologia, parceira da Liferay Brasil.

O evento nos surpreendeu bastante, houve aproximadamente 50 participantes, entre clientes, parceiros e interessados na ferramenta.

Foi uma ótima oportunidade para trocar ideias sobre Liferay, conhecer pessoas que conhecíamos apenas virtualmente e aprender sobre como nossos clientes tem utilizado o portal.

Na parte da manhã, Clédiston, da SEA, fez uma introdução sobre o Liferay e nos explicou sobre como a SEA vem desenvolvendo e implementando portais. Em seguida, Thiago apresentou as novidades mais interessantes do Liferay 6, Eduardo veio depois, nos mostrando o Alloy, nosso framework JavaScript. A facilidade de se utilizar o Alloy para construir interfaces web ricas foi um dos pontos fortes de sua demonstração.

À tarde foi a vez dos nossos clientes, o IBGE e o CFA fizeram ótimas apresentações, ficamos felizes e orgulhosos em saber como o Liferay tem sido útil a eles. A SEA ainda fez um bate papo sobre boas práticas de design de portais e o que aprenderam durante esse tempo.

Gostaríamos de agradecer ao apoio e patrocínio da SEA durante o roadshow, também somos muito gratos aos que compareceram. Ficamos empolgados e já estamos planejando um outro roadshow. Dessa vez acontecerá no Rio de Janeiro ainda este mês em conjunto com nossa parceira Vertigo, fiquem ligados sobre mais detalhes no nosso fórum!

Slides do roadshow podem ser vistos aqui.

 

 

Auditório lotado

 

Thiago Moreira (Liferay)

 

Eduardo Lundgren (Liferay)

 

Time da Liferay

 

Leonardo Antonialli (SEA Tecnologia)

 

=====================================================================================

  

On Oct. 27 we held our first roadshow in South America, this event was sponsored by our partner SEA Tecnologia.

We got surprised by the success of this event, there were about 50 attendees, among clients, partners and people willing to learn more about Liferay.

It was as great opportunity to talk about Liferay, meeting people we knew only virtually and learn about how our clients have been using Liferay.

During the morning, Clédiston, from SEA, introduced Liferay and explained how SEA has been implementing portals. Afterwards, Thiago presented all great new features of Liferay 6, Eduardo came after that, demoing Alloy, our JavaScript framework. The ease of using Alloy to build rich internet applications was the most interesting part of his demo.

The afternoon was occupied by our customers, IBGE and CFA which made great presentations, we happily learned how helpful Liferay has been to them. SEA also talked about portal design best practices and what they have learned during this time.

We would like to thank SEA for its support and sponsorship of this event, we are also very grateful to those who attended. The success of this roadshow was so great that we're already planning a second one, this time in Rio de Janeiro later this month along with our partner Vertigo, stay tuned for details in our forums!

You can see some slides here.

Building simple applications with Liferay WCM

Company Blogs 3 ottobre 2009 Da Bruno Farache Staff

Suppose that you, a portlet developer, need to develop a FAQ portlet that displays questions and answers and that allows certain users to create/update/delete FAQ entries, i.e., a simple CRUD application. Usually, the first thing that comes in mind is to implement a new Java-based portlet, actually, 2 portlets, one for displaying and a second for managing FAQ entries. Fortunately, Ray Augé showed me a different approach, there are some simple cases that can be solved only by using our Web Content framework, this way, each FAQ entry becomes a Web Content entry and for displaying them you can just create a Web Content Template containing a Velocity script.

The ability to create Velocity scripts has been in the portal for a long time but we made some enhancements for 5.3 that will make it easier to build such scripts. Note that some APIs used in this blog post are still in development and will be available only in 5.3. You can download all templates and structures used in this example here.

Portlet example built with Liferay WCM

Here's a screenshot of this portlet in action:
 


 

Each pair of question and answers are Web Content entries, and the template responsible for listing them is located at /templates/FAQ-PORTLET.vm in the zip file.

There are many advantages of building CRUD applications with Liferay WCM, as a developer you don't need to care implementing many features provided by Liferay WCM for free, such as:

1.  Creation, update and deletion of FAQ entries: since each FAQ entry is actually a Web Content entry, you can manage them from the Web Content portlet:




To edit an entry, you just need to fill the form, notice the category select box, FAQ-PORTLET.vm will filter entries accordingly:

 

 

FAQ entries could have other complex field types, such as images, files or any type available in Structures.

2. Versioning: you can have several versions of the same FAQ entry, you can see the history of changes and rollback to older versions if needed, just like any Web Content.

3. Approval workflow: content of each entry can be revised and approved by editors, FAQ entries will be displayed only when they are approved.

4. Tagging: you can aggregate FAQ entries with Asset Publisher portlet.

5. Export/import: you can backup or share FAQ entries with others by exporting and importing them to .lar files.

6. Staging and remote publishing: you can create FAQ entries in the staging community and publish them to the live community when they are ready, they can be also published to a remote Liferay instance.

7. Permissioning: you can define which FAQ entries an user will have permission to view.

7. Setup: Since the portlet that displays all FAQ entries is a Web Content itself with an associated Structure, you can take advantage of this to configure your portlet, in this example, there is a "show_index" option that will display or hide the questions index:


What's new in 5.3?

You might be thinking "OK, there is nothing new here, I know how to create Velocity templates and call Liferay services from them, what's new in 5.3?"

One of the problems we've found while creating these applications is that we can't query for Web Content fields separately. In the example, I needed to filter FAQ entries by their category field, however Web Contents are stored in the database like that:

<?xml version="1.0" encoding="UTF-8"?>

<root>
	<dynamic-element instance-id="uwYU33xF" name="question" type="text" index-type="text">
		<dynamic-content><![CDATA[What is Liferay Portal EE?]]></dynamic-content>
	</dynamic-element>
	<dynamic-element instance-id="rsTKdp5r" name="answer" type="text_area" index-type="text">
		<dynamic-content><![CDATA[<p>Liferay Portal Enterprise...</p>]]></dynamic-content>
	</dynamic-element>
	<dynamic-element instance-id="q7HOfdUk" name="category" type="list" index-type="keyword">
		<dynamic-content><![CDATA[ee_faq]]></dynamic-content>
	</dynamic-element>
</root>


As you can see, it would be hard to make a database query and fetch all FAQ entries associated to the "EE Edition" category, the table is not normalized. We fixed that by indexing Web Content fields separately in Lucene, now you have new options while creating a new Structure, you can define that a field will be indexed as a Keyword or Text by Lucene or won't be indexed at all:



In FAQ-PORTLET.vm we filter FAQ entries by the selected category:

#set ($clauses = [])
#set ($clause = $booleanClauseFactoryUtil.create("category", $selectedCategory, "MUST"))
#set ($void = $clauses.add($clause))
...
#set ($articleHits = $journalArticleService.search($companyId, ... $clauses, ...))

 

Advantages of creating CRUD applications with Liferay WCM

  • Faster coding, no need to deploy .wars, you can dynamically edit and save your velocity script, you'll see your changes right away.
  • Small footprint, it's not a regular portlet with tons of jars consuming memory, it will take longer processing the script but this can be avoided by caching entries.
  • You get all Liferay WCM features for free as I mentioned above, you just need to code a velocity script for displaying entries.

 

Drawbacks

  • Velocity scripts are harder to debug.
  • You can't instantiate Java objects, creation of objects can only be made by calling factories and static methods.
  • If your application has many views or many actions can be performed, your script will become very big, making it harder to maintain. You can't add business logic, there is no data validation.

 

Plans

There are many other useful applications that can be built with Liferay WCM, one that I can think of is Jobs Listing app, we'd like to hear from you which other apps could be useful.

Templates can be easily shared, we are planning to create a new type of plugin, something like a "Webscript" plugin type, a bundle would be basically a .lar file containing templates and structures that we could publish through our plugin installer portlet.

Web Content enhancements

Company Blogs 10 febbraio 2009 Da Bruno Farache Staff

The new release brings some cool new features for the Web Content portlet (previously known as Journal portlet), here are some of them:

1. Repeatable Structure fields

Sometimes, while creating a Structure, we can't predict how many fields of a certain type a Web Content entry will need. Now, for each row in a Structure, there is a Repeatable check box:



If I check this checkbox, I can add as many "repeatable-field" as I want while creating my Web Content entry, I just need to click on the plus icon:



Here's the template that I created to list all "repeatable-field", to get all the values I just need to call $repeatable-field.getSiblings() and iterate over them:



And here's the result:



2. Print feature

Go to Web Content Display configuration, click on "Enable Print", a printer icon will appear just below the Web Content Display portlet, when you click on the printer icon, a pop-up shows up the content in a printer-friendly version. But before that, the template being used needs something like:

#if ($viewMode == "view")
    Displaying content normally.
#elseif ($viewMode == "print")
    Displaying the content in a printer friendly fashion.
#end

3. Web Content conversion to PDF, ODT, DOC...

We have this feature for a long time for Wiki and Document Library, we extended it so Web Content entries can be also converted to these formats, you just need to enable OpenOffice integration following this steps:

Document Conversion with OpenOffice

Then, go to Web Content Display configuration and enable the "Convert To" checkboxes.

That's it, hope these features can be useful for you!

Solr integration

Company Blogs 15 agosto 2008 Da Bruno Farache Staff

We've made some enhancements to the search infrastructure of the portal recently. We abstracted out Lucene as a search engine, now people can build plugins that integrate with others search engines frameworks.

For example, it's possible to replace Lucene with Solr, FAST and Google Search Appliance as long as a plugin is developed to interface with them.

Currently the only plugin developed is one for Solr, the Lucene plugin is the default implementation and comes bundled with the portal.

Roughly speaking, Solr is an application that listens for indexing and searching commands via HTTP requests. You can deploy Liferay in one server and have Solr running in a different server, this is very helpful for clustered portals because we got rid of racing issues when Lucene JDBC was used. Also, you can have a cluster of Solr instances that does load balancing of requests.

This works with Liferay 5.1.1, for more information about installing and running this plugin check these wiki pages:

Search plugins

Solr integration

(Thank you Rich for writing them!)


This plugin was tested with Solr 1.2 only. Looks like Solr 1.3 will be released soon, the plugin will be upgraded if necessary.

Comparing files in document library

Company Blogs 31 gennaio 2008 Da Bruno Farache Staff

I always thought that it would be very nice if we could compare text files in the document library portlet, just like we developers do with different versions of source code. I finally implemented this diff tool and had a lot of fun!

For the first time I think I've made something similar to test-driven development and it'd proven to be very useful for this kind of algorithm in which a small change can break something else that you didn't know it was related.

You can also compare other file types besides .txt, like .doc, .odt or .html. Thanks to the OpenOffice integration we made some weeks ago.

Some aesthetic changes need to be done, as Jorge advised me, Wikimedia's way of choosing different versions is better, it has two columns of radio buttons instead of one column of checkboxes. The way the differences are shown also needs to get better, suggestions please.

Here are the screenshots:

 

...and displaying the result:

 

New feature: document conversion

Company Blogs 28 dicembre 2007 Da Bruno Farache Staff

The Document Library portlet will provide document conversions in Liferay 4.4, here's a screenshot:



This requires OpenOffice v2.0.3 or higher running as a service, locally or remotely.

Here are the supported formats:

From (any of) To (any of)
Text Formats
OpenDocument Text (*.odt)
OpenOffice.org 1.0 Text (*.sxw)
Rich Text Format (*.rtf)
Microsoft Word (*.doc)
WordPerfect (*.wpd)
Plain Text (*.txt)
Portable Document Format (*.pdf)
OpenDocument Text (*.odt)
OpenOffice.org 1.0 Text (*.sxw)
Rich Text Format (*.rtf)
Microsoft Word (*.doc)
Plain Text (*.txt)
Spreadsheet Formats
OpenDocument Spreadsheet (*.ods)
OpenOffice.org 1.0 Spreadsheet (*.sxc)
Microsoft Excel (*.xls)
Comma-Separated Values (*.csv)
Tab-Separated Values (*.tsv)
Portable Document Format (*.pdf)
OpenDocument Spreadsheet (*.ods)
OpenOffice.org 1.0 Spreadsheet (*.sxc)
Microsoft Excel (*.xls)
Comma-Separated Values (*.csv)
Tab-Separated Values (*.tsv)
Presentation Formats
OpenDocument Presentation (*.odp)
OpenOffice.org 1.0 Presentation (*.sxi)
Microsoft PowerPoint (*.ppt)
Portable Document Format (*.pdf)
Macromedia Flash (*.swf)
OpenDocument Presentation (*.odp)
OpenOffice.org 1.0 Presentation (*.sxi)
Microsoft PowerPoint (*.ppt)
Drawing Formats
OpenDocument Drawing (*.odg) Scalable Vector Graphics (*.svg)
Macromedia Flash (*.swf)


For more information check this wiki page.

Visualizzati 12 risultati.
Items 20
di 1