<< Click to Display Table of Contents >> Navigation: Introduction > Component List |
These are the components that are part of the CodeInjector package
TciMacroStrInjector: The persistent type of repository for a text with text replacement macro. The string you store here is archived as string resource in your program and can be expanded (have macro-replacement performed) at any time. The expansion does not change the original string and is done by the ExpandMacros method that returns a new string after the appropriate replacement. In this format, because it is not possible to change the original text as it is stored as a resource in your program, it is very useful for SQL Code, JavaScript functions (eg use in uniGUI and Intraweb), customizing message texts, scripts for chats etc.
The main properties in this componentes are expanded to all the other componentes in this package.
TciDBMacroStrInjector: Same as TciMacroStrInjector but with datasource support. This way you can easily enable any html "component" from other frameworks to link to a table and display updated data or during navigation or query return in a simple and uncomplicated way in your code.
TciFileStrInjector: A component allows reading a text file (text format, html, css, Javascript, Sql, csv etc) and loading its string property for macro expansion. Its function is to handle information from sources in memory external to the application that can be manipulated to be injected into your code.
For uniGUI FrameWork it allows the loading of a local file and its immediate replacement macro. Retains the string in the component, allowing it to be saved with expanded macro, and allowing to combine macros and preferably in a new string version. Returns the expanded file for injection. Imagine you can take a page, customize it with the replacement macro, and pass it to a uniHTMLFrame or uniURLFrame and respond to AJAX events through them.
TciMUltiStrInjector: The persistent type of repository that allows storage together with your program but with divisions by sections that can be ordered by name. Very useful for application of SQL code, JavaScript. HTML and inject it into your application as in conjunction with the previous Macro components but with more data handling power. You can easily integrate responsive admin templates into your database and present real-time updated data.
TciWebStrInjector: Allows the GET of a URL/File page and its replacement macro. Returns the manipulated file for injection. Ideal for integrating your system with real-time feedback API like weather forecast, currency quotes, API consumption, page manipulation from other sources, etc, directly from an url.
TciDOMStrInjector: Same as TciMacroStrInjector but to manipulate DOM elements in a browser document. With this componente you may manipulat eon-the-fly single DOM component or elements ina HTML page and change its valute with out reload the whole page. This component is not currently available.
You can use one component in conjunction with another, for example ciMultiStrInjector and ciMacroStrInjector. Thus, it has a greater ability to handle large amounts of data that can be macro-replaced, exported or imported into your program.