![]() |
jQuery-like chained standard framework?
Hey peeps;
I was thinking today that something like this may be fun. A little mix of jQuery and GS2. The idea is to have a standard framework that would make GS2 more accessible to the newer scripters around here, and at the same time, introduce a level of standards to the way things are done with GScript. Class: gquery PHP Code:
PHP Code:
PHP Code:
PHP Code:
Really what I need is constructive comments and future improvements, ideas and bug reports. I think this could be good for the newer scripters to get a grips with working with a programming language and help with the great transition from clientside to serverside. So, thoughts, comments, flames, bring it on! |
That is one horrible syntax to look at.
|
Quote:
Quote:
|
Quote:
|
Quote:
It is modeled on the jQuery syntax: PHP Code:
PHP Code:
Actually, keep up the mean Ziro, I'm getting some good ideas :O |
That's actually a pretty nice idea and I like how it looks. My only idea was the .each thing you already thought of >_< I will try to come up with something new though.
|
1 Attachment(s)
Aaaaaaand, drumroll please...
I've redone and documented the script, so me and Robin are pleased to give you gQuery 2.0! Simply open the .gs2 file in notepad and paste it in the class "gquery" on your server, use the weapon at the start of this post to interface with it. The documentation is done by doxygen, and I have included the html for those who want it on their hard-drive, simply run the index.html in the html folder of the .zip to view it. For those who don't want the documentation as a hard copy, delete it after extracting the .zip, I'll be editing this post in a few minutes to include a link to it hosted by Robin. |
That's absolutely awesome! =o <3
|
| All times are GMT +2. The time now is 01:04 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.