Data APIs (Data Managers)
If you've ever tried to integrate third-party software with vBulletin then the data managers are for you.
There are now central objects with which to interface when saving various types of vBulletin data. Error handling and denormalized fields are handled automatically for you by the data manager system.
For example, if you want to insert a new thread or post, you need only pass your data to the data manager, which will check to make sure all the data you feed it is valid (not too short, not too long, not too many images etc.). If the data is not valid, the data manager will do its best to make the data valid.
Once all the required data is received by the data manager it will save the data to the database and automatically update the forum last post information.
Naturally, plugins can attach themselves to the data managers, allowing you to add code that runs before or after saving, or even to add new fields.
If you've ever tried to integrate third-party software with vBulletin then the data managers are for you.
There are now central objects with which to interface when saving various types of vBulletin data. Error handling and denormalized fields are handled automatically for you by the data manager system.
For example, if you want to insert a new thread or post, you need only pass your data to the data manager, which will check to make sure all the data you feed it is valid (not too short, not too long, not too many images etc.). If the data is not valid, the data manager will do its best to make the data valid.
Once all the required data is received by the data manager it will save the data to the database and automatically update the forum last post information.
Naturally, plugins can attach themselves to the data managers, allowing you to add code that runs before or after saving, or even to add new fields.
Comment