HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Resolved| A little help to connect to Oracle using the HeroCloud  (Read 1951 times)


  • General Accounts
  • *
  • Posts: 1
    • View Profile

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.
« Last Edit: Oct 21, 12, 10:33:30 PM by HE-Cooper »


  • HeroEngine
  • *****
  • Posts: 424
    • View Profile
Re: A little help to connect to Oracle using the HeroCloud
« Reply #1 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:

  • flexible definition of game data through composition
  • (optionally)factories for complex objects
  • user interface elements to manipulate the data
  • efficient use of memory and bandwidth

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

« Last Edit: Aug 26, 11, 03:08:42 PM by Christopher »
Christopher Larsen