News:

Looking for documentation? Take a look on our wiki

Main Menu

Virtuemart and joomla 4/5

Started by Eagle21, May 10, 2019, 19:51:28 PM

Previous topic - Next topic

EvanGR

I am looking forward to the complete removal of jQuery/mootools, and the transition to bootstrap 5.

AH

Well you will not see that happening in VM
Regards
A

Joomla 4.4.5
php 8.1

EvanGR


AH

Consider that many components and plugins that sites use will still expect jQuery - why expend massive effort in removing it from VM

Bootstrap 5 - just another framework

Of course - if you are willing to contribute funds and effort to competing such work - then you may find an audience
Regards
A

Joomla 4.4.5
php 8.1

EvanGR

True, backwards compatibility is important. You can't just throw everything out at once.
However, what we can do, is allow alternatives, and provide a gateway to the better ways of doing things.

For example, gradually move VirtueMart core itself, away from old and deprecated JS libraries. The components/plugins will follow.

Joomla 4 provides such an opportunity.

Bootstrap 5 may be "just another framework", but at least it removes the burden of jQuery, and opens the way for faster websites.

At the moment, there is a sizeable "cost" of several hundred of KBs worth of very old, deprecated, and potentially insecure (https://snyk.io/blog/84-percent-of-all-websites-impacted-by-jquery-xss-vulnerabilities/), scripts coming with a stock VM store.
I don't see this heritage as a benefit for the future of Virtuemart. Do you?




AH

Of course I agree that looking at new technologies is worthwhile for any platform - it is a balance between costing your existing user base $$$'s in upgrading and accessing new customers. 

jQuery.min is 32Kb not "hundreds of KB)
Regards
A

Joomla 4.4.5
php 8.1

razor7

Please, keep Jquery...! Just developed a very specific payment plugin for a client in no time thanks to VM and jQuery...

After that pledge, today j4 was released, ¿is VM ready or in development to joomla j4?

Thanks!
MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store

GJC Web Design

Really don't understand this anti Jquery vibe.. it's quick, easy and light.. where is the problem?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AH

Regards
A

Joomla 4.4.5
php 8.1

balai

QuoteReally don't understand this anti Jquery vibe.. it's quick, easy and light.. where is the problem?
Quick and light is not. Easy it is.

Using an ~100KB framework (without its dependent packages) to achieve things that can be done with a few lines of vanilla javascript, is a good practice?
Security issues
Great contribution to the total blocking time (TBT)

Studio 42

jQuery is fine for compatibility but not for speed and most frameworks are to heavy.
But what about speed of Joomla and Virtuemart or any framework or component ?
How much site use a template frameworks  or pagebuilder ?
You can do a website from scratch and use vanilla JS but how long you need to do it ?
The question is about compromise, cost /speed /easy ... because bootstrap itself load plenty of CSS and scripts for nothing, so why not removing bootstrap too ?
About jquery, you can overide it and use https://zeptojs.com/ for eg. or other light alternatives(or jquery light)

GJC Web Design

QuoteUsing an ~100KB framework (without its dependent packages) to achieve things that can be done with a few lines of vanilla javascript, is a good practice?
Security issues
Great contribution to the total blocking time (TBT)

u can use vanilla JS but as the Jq framework is already loaded and used in multiple scripts and extensions on most websites why not go with the flow?

It's 100KB downloaded once .. after that it's cached...
even this 100KB is relatively insignificant when I regularly see sites with page loads of 4-5MB -- then they add a live chat, tracking, 3rd party reviews, external media etc etc

This security issue thing ... just how many million sites are using Jq ( they say 73% of the 10 million most popular websites ) and a large % of them will be using v1 ... if this security issue was such a flaw surely millions of sites would be down or hacked or don't the hackers know about the flaws?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jankoo

ok. som j4 is out. any details on when vm compatible release?

stAn99

Hello, i've created a plugin that allows you to run VM3.8.9 on Joomla 4.
https://www.rupostel.com/phpBB3/viewtopic.php?f=7&t=3940

The compatiblity plugin with class overrides is available here:
https://www.rupostel.com/plg_system_j4legacy.zip

that initializes overrides for Virtuemart 3.8.9 which are requried for Virtuemart to run on Joomla 4 code.

This is how to use it:
1. install clearn joomla 4 site
2. install our plugin from above   (https://www.rupostel.com/plg_system_j4legacy.zip)
3. enable our plugin + change your database driver to "Mysqlivm"
4. download - http://dev.virtuemart.net/attachments/1285/com_virtuemart.3.8.9.10514_package_or_extract.zip  and extract
5. install com_virtuemart.3.8.9.10514.zip
6. install com_virtuemart.3.8.9.10514_ext_aio.zip

Report the bugs within the forum.

Note:
This plugin was made for vm3.8.9 - if you are using newer VM version, please disable as many overrides in the plugin as possible within the j4legacy plugin to see if your code is fully compatible with j4.

Our OPC can be run on Joomla 4 from version 2.0.418 and for now it requires this plugin for it to work properly.

Upgrade scenario is not yet tested, but the plugin should work on joomla 3 as well as enabled so upgrading from j3 to j4 might work as well - not tested at the moment.

Please note that running VM or our OPC on Joomla 4 is not yet officially supported and thus no active support can be provided in this matter. We do not recommend to use this on a production site yet.


This is intended purely for developers who need to test their code against both Jooml 4 and Virtuemart

Best Regards, Stan
----
RuposTel.com
www.rupostel.com
Your customized checkout solution for Virtuemart

mmckerracher

would also like to know when the J4 compatibility update will be.