We at Osclass are always striving to make your life easier!
That is why we are implementing some changes and improvements, in order to help you saving time while developing your projects!
Firstly, we are improving our HTML forms to avoid tedious repetitions while coding. Until today, if you wanted to apply changes in the HTML form structure, you had to go trough the repetitive and wearisome procedure of applying them to each and every form on your code. This will be history with our latest updates as you will now have one single file with the structure of a generic form which you can later use to create all your forms.
Here you have an example:
Let’s say you have something similar to this:
As you can see, there’s a lot of repetition in this HTML code. Until now, if in the future you needed to apply some changes, you were bound to repeat this code for each file of each page form. With our latest update we are improving our system so you can apply all these changes in one single step, similar to this:
Actually, there’s no need to do “addField” (that’s Osclass does for you) but simply: insertForm(‘form’).
Let’s see a real example:
Current version (94 lines)
New version (38 lines)
Secondly, we are cutting down the number of required files for the themes (e.g. item-post and item-edit which are almost identical and will end up being the same file).
But don’t worry, all current themes will still be valid.
And last but not least, we are improving and unifying our URLs. We used to create URLs according to some rules, e.g. anything regarding a user was labeled as “user” (user/login, user/register,…) and plugins’ urls were different from the core ones (in the database). These URLS will now be unified and you will be able to customize ALL urls as well as create many pages directing to the same place (e.g. user/login and user/entry). Say goodbye to “ugly” urls such as index.php?page=user&action=login, they will now be nicer and SEO- friendly e.g. index.php/user/login.
We don’t stop seeing great websites that are already using Osclass.com! And we are proudly adding them to our showcase.
Want to show the world your awesome work? Share your website with us!
Share your thoughts with us!
Thanks for all your support and feedback!