PrimeFaces Mobile vs Responsive design

UI Components for JSF
Post Reply
infralumpen
Posts: 10
Joined: 18 May 2015, 23:03

18 May 2015, 23:12

What do you recommend?? Are there some comparation, I couldn't find anything. In PFM, how the device detection is made? Do I have to rewrite all my code in order to use it?
Last edited by infralumpen on 19 May 2015, 19:28, edited 1 time in total.

ClaudioC
Posts: 114
Joined: 26 Sep 2013, 10:40

19 May 2015, 15:28

If your destination app is thought exclusively for mobile devices I suggest you to use primefaces mobile ( but look at the available components on showcase first ). Instead, if you think your app should be used on desktop devices and also on mobile, in this case I suggest you responsive design. In responsive design I think you have more freedom on page design instead of on exclusive mobile side( but this depends on what your app consist... ). In case you decide one or other method, you have to think about the navigation rules that each method allows to you.
If you choose PFM your previous pages must be rewrite to allow them to be correctly visualized on mobile device. For device detection I suggest this post :

http://forum.primefaces.org/viewtopic.php?f=8&t=19887
Netbeans 8.1, PrimeFaces 5.3.10 + PrimeFaces Extensions 4.0, Glassfish ver4.1, Chrome with NetbeansPlugin

infralumpen
Posts: 10
Joined: 18 May 2015, 23:03

20 May 2015, 15:06

ClaudioC wrote:If your destination app is thought exclusively for mobile devices I suggest you to use primefaces mobile ( but look at the available components on showcase first ). Instead, if you think your app should be used on desktop devices and also on mobile, in this case I suggest you responsive design. In responsive design I think you have more freedom on page design instead of on exclusive mobile side( but this depends on what your app consist... ). In case you decide one or other method, you have to think about the navigation rules that each method allows to you.
If you choose PFM your previous pages must be rewrite to allow them to be correctly visualized on mobile device. For device detection I suggest this post :

http://forum.primefaces.org/viewtopic.php?f=8&t=19887
Thanks!! I've decided to make a responsive design mostly because PFM is very outdated, omg last update was about 2 years ago, that scares! Thanks again... regards
Last edited by infralumpen on 22 May 2015, 20:40, edited 2 times in total.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

22 May 2015, 18:30

PFM is inside PrimeFaces Core so it is regularly updated.

About the question, it depends on your application, you can use PFM for a native look or use Responsive features of PrimeFaces like;

http://www.primefaces.org/showcase/ui/m ... sive.xhtml

More links;

http://www.sitepoint.com/responsive-design-vs-m-sites/
http://worryfreelabs.com/company-build- ... bile-site/

We provide solutions to both approaches.

infralumpen
Posts: 10
Joined: 18 May 2015, 23:03

01 Jun 2015, 19:53

thanks!!
optimus.prime wrote:PFM is inside PrimeFaces Core so it is regularly updated.

About the question, it depends on your application, you can use PFM for a native look or use Responsive features of PrimeFaces like;

http://www.primefaces.org/showcase/ui/m ... sive.xhtml

More links;

http://www.sitepoint.com/responsive-design-vs-m-sites/
http://worryfreelabs.com/company-build- ... bile-site/

We provide solutions to both approaches.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 22 guests