• Resolved Stefano

    (@stefacchio)


    This plugin is really great but very very old and outdated, are you planning to rewrite it to be well integrated with react, the rest api, gutenberg blocks without the use of jQuery?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hello Stefano,

    Thanks for your message. We are happy to hear you like VikBooking, but honestly, we do not really agree with the “old” and “outdated” part. We would like to share some reasons on this matter.

    Our plugin uses some of the most recent JavaScript functionalities, such as Push Notifications and Web Workers to allow the conversion into a Progressive Web Application (PWA) on most operating systems.

    We do support native Gutenberg block types for Shortcodes and for all the “Legacy Widgets”, and those functions make use of the WordPress native React functionalities.

    REST APIs are not used because our complementary “Vik Channel Manager” plugin, together with our E4jConnect Channel Manager service, will install an API endpoint documented on our official website at E4jConnect that is also compatible with another CMS. Therefore, for maintenance purposes, we have adopted our own API framework, which is also compatible with the native iOS and Android App for E4jConnect.

    In regards of jQuery, this JavaScript framework still ships with WordPress, and one of the main reasons why we still use it, is to secure the hundreds of AJAX requests with CSRF proof tokens. However, all newly introduced features make use of plain Vanilla JavaScript, and so no JavaScript framework is used, which is definitely preferred by our programmers.

    In any case, we would like to inform you that as of today, May 2025, we are currently developing the next major release 1.8 for VikBooking, which will be released soon with many new features.

    We invite you to get in touch with our team through our website should you have any technical questions, especially because we also speak the same language 🙂

    Thank you,
    The VikWP Team

    Thread Starter Stefano

    (@stefacchio)

    and do you plan to eliminate the use of jquery soon?

    I want to create sites without queuing jquery in my theme, for performance, security and performance issues, I consider jQuery heavy, outdated and useless nowadays, but if the plugin requires jQuery, it will be obligatorily queued in the theme.

    Plugin Author e4jvikwp

    (@e4jvikwp)

    At the moment we do not plan to eliminate the use of jQuery from our plugins, I’m sorry.

    As we informed you, jQuery is no longer being used on the new plugin functionalities that get developed, but websites that use the latest jQuery versions are PCI-DSS compliant as of 2025, and so it is definitely safe and it still ships with the latest versions of most CMSs, including WordPress. Not only that, some of the core functions of WordPress still rely on jQuery. We will eliminate it by adopting just plain JavaScript whenever the CMSs will drop their official support for it.

    Also, as you’ve probably noticed, VikBooking is a large plugin with thousands of files. The jQuery UI Datepicker is the official calendar date picker component, and it is extended through custom JS plugins that were developed by our company to allow the support for the various booking restrictions that can be configured within VikBooking, with support for minimum/maximum lengths of stay, week-days closed to arrival or departure, and many other complex operations that require a stable calendar component.

    For these reasons, at the moment we do not prioritize abandoning completely the use of jQuery in any of our plugins, but we do understand your points.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘planning to rewrite plugin with REST API?’ is closed to new replies.