HeroEngine Forums

HeroEngine Support => General Discussion => Topic started by: Akaize on Aug 25, 11, 08:35:25 PM

Title: [Resolved| A little help to connect to Oracle using the HeroCloud
Post by: Akaize on Aug 25, 11, 08:35:25 PM
Hello everyone, I am very happy to be sharing this moment with you.

Already I have the license to develop and may change in HeroCloud files with HSL codes, and everything else.

I'm trying to connect to Oracle database from my HeroCloud to enter the list of items, however I do not understand this thing, someone could help me.

I guess the server read the Oracle database to pull the list of items that existed in the game, this thought is correct or the server reads the list of items registered somewhere else? And as it does to add the items, It is through the interface as shown in the tutorial HeroBlade "http://hewiki.heroengine.com/wiki/Inventory_Tutorial" or directly to the database?

Thanks to all.
Title: Re: A little help to connect to Oracle using the HeroCloud
Post by: HE-CHRISTOPHER on Aug 26, 11, 08:57:00 AM
You do not have, nor do you need direct access to the Oracle Database that provides the persistence layer for HeroEngine.  


Rather HeroEngine supports a flexible Data Object Model (DOM http://hewiki.heroengine.com/wiki/DOM) that you can define within the engine itself and change on the fly using either the DOM Editor (http://hewiki.heroengine.com/wiki/DOM_Editor) or the CLI (http://hewiki.heroengine.com/wiki/CLI).

The Spec System (http://hewiki.heroengine.com/wiki/Spec_system) (lamentably named, due to the potential for confusion, also known as a Spec Oracle.  Oracle in this sense was meant to hint at the Oracle of Delphi...something or someone that knows stuff not the database.), which is implemented as DOM data structures and manipulated through HeroScript, provides:


The inventory tutorial is showing an example of an "ItemSpecOracle" which is implemented entirely in the DOM and HeroScript.