Search the Community
Showing results for tags 'codeinjector'.
-
Another simple demo showing how to manipulate templates. Get the DOM element ID and change its value. You can do with any element or div without worrying about string manipulation a other stuff. In this manners, any template or any HTML code you can manipulate from uniGUI. Fast and easy. Bootstrap etc... more examples coming ! Last day with a $ 40,00 discount ! See our new Component Package Code Injector at https://www.unigui.com.br/uniGUICodeInjector-eng.html And our printer server solution for uniGUI - lite version (component package to print PDF, Direct Printing to POS etc) https://www.unigui.com.br/uniGUIPRINTERServer-Lite-eng.html The final solution to direct print to POS printers
-
Hi Folks CodeInjector has 6 components and more to come in future updates. But one very interesting is ciDOMStrInjector. It allows to inject JS code, HTML etc in you browser session or DOM. No more "espagetti" string manipulation to your projects. Last day for old price. New price tomorrow ! See our new Component Package Code Injector at https://www.unigui.com.br/uniGUICodeInjector-eng.html And our printer server solution for uniGUI - lite version (component package to print PDF, Direct Printing to POS etc) https://www.unigui.com.br/uniGUIPRINTERServer-Lite-eng.html The final solution to direct print to POS printers
-
Coming soon... CodeInjector package: Allows code injection into your application and with macro substitution before injection. Easy to use and allows you to make your work easier with extra code that needs to be changed before being used in components or more complex operations such as SQL statements, JavaScript Functions, Text Templates, HTML Code, CSS and anything else that can be treated as AnsiString text /UTF8 by Delphi. With this package you can easily adapt any HTML template or JavaScript code for direct injection into your section of a uniGUI program, enabling it to bypass the dependency on native uniGUI components and/or improve their use. TciMacroStrInjector: The persistent type of repository for a text with text replacement macro. The string you store here is archived in your program and can be expanded (have macro-replaced 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. 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. 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. TciFileStrInjector: Allows loading of a local file and its immediate replacement macro. It retains the string in the component allowing it to be saved, encrypted or not, in the DFM and allows combining macros and preferably in a new 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. TciWebStrInjector: Allows the GET of a URL/File page and its replacement macro. Returns the manipulated file for injection. Ideal to integrate your system with real-time feedback API such as weather forecast, quotes, REST API consumption, page manipulation from other sources, etc. directly from a url. 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. Finishing the demos and docs... this is the kind of component that really is missing in uniGUI and you can use anything available in the web to integrate and beautify your programs like you never did before. New demo videos and demo examples available in 24 hs... Thanks... Fred Montier This example above uses BootsStrap panels with responsive layout but the numbers you see changing are provided by ciMacroStrInjector with random values triggered by a timer that updates macro tags in the HTML text. In this manner you could update anything via DB (datasource) or external URL and convert any html code to live binding content. It's easy and you could use any other framework besides the native uniGUI components achieving great results to the UI experience ! Best of all, toke me just 2 minutes to convert this old project... More to come...
-
codeinjector CodeInjector - New Example 02
Fred Montier posted a topic in Components and Code Samples
Hi Folks ! This example show how to use a graph example grabbed from the web and in few minutes adapt it to uniGUI. I made no changes to the HTML except the macro string tags to replace values. This example uses ciFileStrInjector component from my CodeInjector package that can read a file, macro-update the original code and save it back to server, if you want or just propagate to uniUrlFrame, like in this case. You could also customize the values on the fly ! Even integrate to your datasource for realtime updates. This will be available at a promotional release price in few hours.