|
Post by fnllc on Jul 28, 2018 12:28:55 GMT
I have started to try to upgrade my app from JQuery Mobile to Framework7. It appears to be a fairly "easy" upgrade path compared to other frameworks out there.
I tried OnsenUI, but it didn't seem as easy to upgrade with. I haven't tried Ionic as it seems to be tied too much with Cordova.
Anyone else using Framework7? Have you found any big issues using it with Rhomobile?
|
|
|
Post by Vladimir Musulainen on Jul 28, 2018 18:15:05 GMT
I used Framework7 some time ago with Rhomobile. Pay attention to Framework7 not only CSS framework, but JS framework too. If your app is JS based - no problem, I don't see any obstacles here. If your app is ruby based app there are some possible ways: - Use only CSS part of Framework7. - Use Framework7 JS/CSS and ruby business logic together - Migrate all logic to JS
If you can allow migrating to JS, may be better way will be to use Vue + Vuetify.
|
|
|
Post by fnllc on Jul 29, 2018 10:00:12 GMT
So far I'm able to use the CSS and JS parts of F7 together with my ruby business logic. It seems to work well even with the "Router". I'm only at the beginning of the transition and I'm trying to keep the business logic in ruby.
|
|
|
Post by lothcor on Sept 17, 2018 3:58:38 GMT
I use Framework7 in our apps, still need to upgrade to v2 / 3, but v1 works quite well. I use the F7 router ajax calls to my ruby controllers and have ruby do any database or heavy lifting as needed.
|
|
|
Post by jontara on Sept 15, 2020 23:04:36 GMT
I think another great options (though it's a paid license) is Smart HTML Elements:
They just today released Version 8.0. They have been on a tear with updates!
It is a "reactive" library that is built over modern JS web component functionality (it can also support legacy browsers with polyfills - should not be necessary for recent iOS/Android releases). It has a very complete widget collection. It is from the same company that made the jqWidgets library that builds over jQuery. jqWidgets was very popular for enterprise website development, for example, I used it many years ago for internal projects (like dashboards) at Sony Playstation. So, they have leveraged their many years of refining widgets that are in demand for enterprise data collection/forms/fancy tables/graphical presentation/etc., and re-written them now in a modern, reactive way. I have used this new library recently for an administrative website (associated with a Rhodes project, but not in the Rhodes project itself - it's for viewing and summarizing data created by the mobile app.) But now I am starting a new Rhodes project, and I will be using this library in the Webview. I will let all know how it goes! My needs really are few, as this project isn't an Enterprise app with a lot of data collection and display - I will be using it just for Settings, etc. But I want to get some experience with it in the Rhodes/Webview environment, as I believe this is the way forward from here for web UI development. I really like this because it reminds me of a re-imagined jQuery Mobile. That is, it focuses on the UI, and doesn't have unnecessary MVC cruft (like React or Angular). In the Rhodes environment, it's best to do the MVC in Ruby, and so React and Angular bring a lot of unnecessary stuff. React/Angular were written to get FaceBook and Google a "head start" on reactive UI architecture at a time when the browsers had no direct support for a reactive architecture. I speak of both of them in the past tense! They were useful to Facebook and Google. But it is time to move on. Smart HTML Elements has no dependence on any underlying library. (e.g. doesn't need jQuery or similar). It runs directly on VanillaJS/ES6. (Again, with polyfills available for legacy browsers.)
|
|