Folder for PXLUA extensions
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Folder for PXLUA extensions

Started by bastya_elvtars, 09 April, 2006, 11:45:13

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bastya_elvtars

Recently the discussion on the right place/folder for pxlua libraries has gotten into focus. I'd like all who care to discuss it here.
Everything could have been anything else and it would have just as much meaning.

Madman

Well...I like blue's idea...
Put the files in the root folder...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

bastya_elvtars

I can only repeat what I wrote earlier:


I think script/libs is still a good idea. Libs can also be written in lua, not only C(++). There are PHP extensions written in PHP as well, like MagpieRSS or AdoDB library or there is a DOM XML parser written in PHP as well. None of them are stored in the PHP modules directory of the webserver. :P
Everything could have been anything else and it would have just as much meaning.

bluebear

#3
For the extensions i created and for the ones i modded/build for ptokax.
I was thinking about bundle them with a installer program, that will install the libraries inside a chosen folder or windows\system32.
When installed the installer will register the lua extensions and they will be usable from any ptokax regardless of how many copies your run and so.
It will then be upto the end user (hub owner) where to install these libs, and the scripter do only need to give it the name of the extension.

The new lua header files im working on, the ones used in lua sound player and the lua http getter dynamically loads the PXLua.dll and therefore these libs must
be located in the ptokax root folder. This issue will be removed if the librarys are installed via an installer.

This is the way i think is the best and most methodical.
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

Typhoon

#4
why not just let people choose themself.. i for one dislike 3rd party installers, and also i like to choose where to keep stuff..

atm. i use scripts/Script_dir_name/Libs
and i never had any problems what so ever with that .

*edit* maybe a even better solution would be to get PPK to release PtokaX with all the libs the right place  root_folder/Libs for example ?

Typhoon?



Madman

I dislike all installers... ;p

if we not can deside a standar folder to have the files in, my suggestion is that we allow the users to choose,
by always scripting an option where the hubowner can spesify where the files are
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

SMF spam blocked by CleanTalk