Why we chose Vue.js over React 11 December, 2016
Qwintry team recently started active migration to Vue.js as a frontend framework in all our legacy and new projects:
- in legacy Drupal system (qwintry.com)
- in our new, completely rewritten qwintry.com branch
- in Yii2-powered b2b system (logistics.qwintry.com)
- in all our smaller internal and external projects (mostly with PHP and Node.js backends)
We are now developing big Drupal 7 project where users have profiles with lots of fields.
They also have a node tied to them (“My story”) which is created during registration.
Initially, these were “edit my profile” and “edit my story” links which were leading to a huge forms where user was scared by amount of elements.
And that is the result of UI improvements:
and after clicking “Edit” near “Hobby” item…
So, basically, user has separate small form for photo upload, separate form for about field, and separate form for small details. Read more »
Calendar with highlighted dates 13 November, 2011
In Drupal 7, it’s easy to show calendar (ui.datepicker) date selector to user. (it’s not hard in Drupal 6, too - but in d6 you need to enable http://drupal.org/project/jquery_ui to get the calendar, I think)
You just write several lines of js code, and you get a calendar.
But things are quickly getting more complicated when you need to allow visitors to choose from dates that have some nodes “attached” to them only. E.g. if you have news view, and you don’t have news for 13 Nov 2011, there is no sense in allowing user to click on this date in calendar (I’m talking about the case when clicking on calendar redirects user to views page /news/2011/11/02 , where 2011/11/02 is a context filter for news nodes)
Here is the screenshot illustrating the desired functionality: Read more »