Yugal 10 - Upcoming Version

I have re-written Yugal's SSG SPA module using Object Oriented Programming, ie old module which was developed in Functional Programming.

Pros of OOP Redevelopment in Yugal

  • You can get every YUGAL SPA methods as prediction in VS CODE, ie if you don't remember a method you can simply see all methods in VS Code only.

  • No conflicts of functions and Variable names.

  • Less modules size

  • Yugal becomes more maintainable.

  • Removed unnecessary constants in string.php

Cons of OOP Redevelopment in Yugal

  • Old apps will need some corrections as given below.

You will need to create new Yugal instance as given below.

$app = new YugalSPA();

Now, def_page will be replaced with $app-> page method, end_doc will be replaced with $app->build method.

You'll know more when this release is fully developed.

Introduction to YUGAL 10 CMS

Yugal 10 will include a Content Management System, ie you can develop and update your site using CMS instead of editing php code directly. Similar to React you will be able to make new components in Yugal CMS and use it anywhere in your app. CMS for Yugal will be developed in Next JS as Next JS is more suitable for a very complex app the Yugal.

Yugal is not suitable for complex apps like dashboards. Yugal is best fit for static sites for local businesses. However it is possible to develop complex apps in Yugal but developing complex app in Yugal is similar to developing app in static HTML as Yugal uses Vanilla JS. Therefore, in order to build complex app, developers will need to apply less efforts in React frameworks than Yugal.

Yugal is best fit for sites for Small businesses like static site, somewhat dynamic site. But building highly complex site in Yugal will be a nightmare.

Last updated