AptekDevkit is a windows-based framework developed by AptekDev™.
It makes you able to create desktop applications using HTML5 , CSS3 ,Lua , CSharp and JavaScript.
AptekEngine™ comes in three parts AptekCore , AptekIDE and AptekApp.
AptekApp™ is the final product of AptekEngine. It's like Electron
but lightweight , powerful and superfast!
AptekApp is based on Ultralight rendering engine and it uses JIT
(Lua/C# ) to execute AptekCore API.
Lua gives you a fast way to build your application in any language!
Ultralight is a lightweight, pure-GPU, HTML rendering engine for native apps. Our aim is to provide support for the majority of the HTML5/CSS/JavaScript spec while still being as lightweightas possible.
You can develop your application in any language (C# , VB.Net , C/C++ , Delphi , Ruby and etc.) there's no limit you only need to export four functions from dll.
bool AppInit(void)
void AppStart(void)
void AppShutdown(void)
int AppLicense(void)
Develop your application core and build it then you connect it to AptekApp with Lua/C# Bridge Interface.
.tekpack
is official extension package of AptekApp.
Here's a global diagram of AptekApp Mechanism :
Some of AptekApp™ features are :
Code Virtualization
by A Virtual CPU. It will be compiled into a Single *.exe with no dependencies , Just one exe without any extraction to disk.assets
by using four layer of encryption and compression (zLib/LZMA).AptekIDE™ is a full featured IDE for developing AptekApps , It preforms anything you need to develop a AptekApp.
It has AptekPackage exporting tool , debugger, virtual server and lots of features to make everything easy for you!
Note : AptekIDE looks like Visual Studio but a little prettier :D
It's really simple!
x
10
1
-- Initializing AptekEngine
2
AptekEngineInit(true);
3
4
-- Loading Virtual HTML File
5
AptekEngineLoadVF("index.html");
6
AptekEngineLoadVF("style.css");
7
8
-- Launches AptekApp
9
AptekEngineRender();
10
11
-- Shutdown AptekEngine
12
AptekEngineInit(false);
It's really simple too!
x
1
-- Get current AptekEngine
2
aptekengine = AptekEngineGet(true,true)
3
4
-- Load a module to AptekEngine
5
aptek_module = AptekLoadLib('myappCore.dll',"MyLib_Name")
6
AptekEngineAddLib(aptekengine,aptek_module)
7
AptekEngineExecute("MyLib_Name","Function_Name_In_Module")
You can use Lua/C# to create your application in less than 1 minute but what if you don't be a c++ programmer ?
There's another option for you , You can use AptekCore directly from .NET by using AptekCore .Net Wrapper!
Here's a simple example :
xxxxxxxxxx
22
1
// Creating Hello World! App in 5 Lines of Code in C#
2
class Program
3
{
4
static void Main(string[] args)
5
{
6
// Creating AptekEngine
7
AptekEngine aptek_engine = new AptekEngine();
8
// Callback after page loaded
9
AptekCallback aptek_mainapp = new AptekCallback(Main_Callback);
10
// Creating Webpage from HTML
11
WebPage web_page = new WebPage("<div>Hello World!</div>");
12
// Initializing AptekEngine
13
aptek_engine.Init(aptek_mainapp);
14
// Loading web page into the engine
15
aptek_engine.load(web_page);
16
}
17
18
void Main_Callback(){
19
Console.WriteLine("PageLoaded!");
20
}
21
22
}
Ofcource , It's a free-ware application for using non-commercial and personal usage. Using it for commercial projects needs Ultralight license but the app itself is free but closed-source.
Sorry , AptekEngine is still under developing but you can follow this website to get news and download AptekEngine when it be ready!
Stay Tuned :)