+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/pushnotifications_server/bin/www/myworkers.js b/samples/pushnotifications_server/bin/www/myworkers.js
new file mode 100644
index 00000000..a372f297
--- /dev/null
+++ b/samples/pushnotifications_server/bin/www/myworkers.js
@@ -0,0 +1,22 @@
+importScripts('ajax.js')
+
+var ajax = new AJAX();
+var clientid = null;
+
+function loop() {
+
+ ajax.get('/topics/test1/' + clientid, function(status, response) {
+ if (status == 200) {
+ //console.log(response);
+ var json = JSON.parse(response);
+ //console.log(json);
+ self.postMessage(json);
+ setTimeout(loop, 500);
+ }
+ });
+}
+
+self.onmessage = function(event) {
+ self.clientid = event.data;
+ self.loop();
+}
\ No newline at end of file
diff --git a/samples/routingsample/BusinessObjectsU.pas b/samples/routing/BusinessObjectsU.pas
similarity index 100%
rename from samples/routingsample/BusinessObjectsU.pas
rename to samples/routing/BusinessObjectsU.pas
diff --git a/samples/routingsample/RoutingSampleControllerU.pas b/samples/routing/RoutingSampleControllerU.pas
similarity index 100%
rename from samples/routingsample/RoutingSampleControllerU.pas
rename to samples/routing/RoutingSampleControllerU.pas
diff --git a/samples/routingsample/WebModuleU.dfm b/samples/routing/WebModuleU.dfm
similarity index 100%
rename from samples/routingsample/WebModuleU.dfm
rename to samples/routing/WebModuleU.dfm
diff --git a/samples/routingsample/WebModuleU.pas b/samples/routing/WebModuleU.pas
similarity index 100%
rename from samples/routingsample/WebModuleU.pas
rename to samples/routing/WebModuleU.pas
diff --git a/samples/routingsample/Win32/Debug/lua5.1.dll b/samples/routing/Win32/Debug/lua5.1.dll
similarity index 100%
rename from samples/routingsample/Win32/Debug/lua5.1.dll
rename to samples/routing/Win32/Debug/lua5.1.dll
diff --git a/samples/routingsample/routingsample.dpr b/samples/routing/routingsample.dpr
similarity index 100%
rename from samples/routingsample/routingsample.dpr
rename to samples/routing/routingsample.dpr
diff --git a/samples/routingsample/routingsample.dproj b/samples/routing/routingsample.dproj
similarity index 100%
rename from samples/routingsample/routingsample.dproj
rename to samples/routing/routingsample.dproj
diff --git a/samples/routingsample/routingsample.res b/samples/routing/routingsample.res
similarity index 100%
rename from samples/routingsample/routingsample.res
rename to samples/routing/routingsample.res
diff --git a/samples/routingsample/theSimplestServer.res b/samples/routing/theSimplestServer.res
similarity index 100%
rename from samples/routingsample/theSimplestServer.res
rename to samples/routing/theSimplestServer.res
diff --git a/samples/BasicDemoWithContainer/App1MainControllerU.pas b/samples/servercontainer/App1MainControllerU.pas
similarity index 100%
rename from samples/BasicDemoWithContainer/App1MainControllerU.pas
rename to samples/servercontainer/App1MainControllerU.pas
diff --git a/samples/BasicDemoWithContainer/BasicDemo.dpr b/samples/servercontainer/BasicDemo.dpr
similarity index 100%
rename from samples/BasicDemoWithContainer/BasicDemo.dpr
rename to samples/servercontainer/BasicDemo.dpr
diff --git a/samples/BasicDemoWithContainer/BasicDemo.dproj b/samples/servercontainer/BasicDemo.dproj
similarity index 100%
rename from samples/BasicDemoWithContainer/BasicDemo.dproj
rename to samples/servercontainer/BasicDemo.dproj
diff --git a/samples/servercontainer/BasicDemo.res b/samples/servercontainer/BasicDemo.res
new file mode 100644
index 00000000..6876088a
Binary files /dev/null and b/samples/servercontainer/BasicDemo.res differ
diff --git a/samples/BasicDemoWithContainer/Clean.bat b/samples/servercontainer/Clean.bat
similarity index 100%
rename from samples/BasicDemoWithContainer/Clean.bat
rename to samples/servercontainer/Clean.bat
diff --git a/samples/BasicDemoWithContainer/WebModuleUnit1.dfm b/samples/servercontainer/WebModuleUnit1.dfm
similarity index 100%
rename from samples/BasicDemoWithContainer/WebModuleUnit1.dfm
rename to samples/servercontainer/WebModuleUnit1.dfm
diff --git a/samples/BasicDemoWithContainer/WebModuleUnit1.pas b/samples/servercontainer/WebModuleUnit1.pas
similarity index 100%
rename from samples/BasicDemoWithContainer/WebModuleUnit1.pas
rename to samples/servercontainer/WebModuleUnit1.pas
diff --git a/samples/BasicDemoWithContainer/WebModuleUnit1.vlb b/samples/servercontainer/WebModuleUnit1.vlb
similarity index 100%
rename from samples/BasicDemoWithContainer/WebModuleUnit1.vlb
rename to samples/servercontainer/WebModuleUnit1.vlb
diff --git a/samples/ssl/MyControllerU.pas b/samples/sslserver/MyControllerU.pas
similarity index 100%
rename from samples/ssl/MyControllerU.pas
rename to samples/sslserver/MyControllerU.pas
diff --git a/samples/ssl/MyObjectsU.pas b/samples/sslserver/MyObjectsU.pas
similarity index 100%
rename from samples/ssl/MyObjectsU.pas
rename to samples/sslserver/MyObjectsU.pas
diff --git a/samples/ssl/OPENSSL CERTIFICATES BUT BE PLACED HERE b/samples/sslserver/OPENSSL CERTIFICATES BUT BE PLACED HERE
similarity index 100%
rename from samples/ssl/OPENSSL CERTIFICATES BUT BE PLACED HERE
rename to samples/sslserver/OPENSSL CERTIFICATES BUT BE PLACED HERE
diff --git a/samples/ssl/README.TXT b/samples/sslserver/README.TXT
similarity index 100%
rename from samples/ssl/README.TXT
rename to samples/sslserver/README.TXT
diff --git a/samples/ssl/SSLSample.dpr b/samples/sslserver/SSLSample.dpr
similarity index 100%
rename from samples/ssl/SSLSample.dpr
rename to samples/sslserver/SSLSample.dpr
diff --git a/samples/ssl/SSLSample.dproj b/samples/sslserver/SSLSample.dproj
similarity index 100%
rename from samples/ssl/SSLSample.dproj
rename to samples/sslserver/SSLSample.dproj
diff --git a/samples/ssl/WebModuleUnit1.dfm b/samples/sslserver/WebModuleUnit1.dfm
similarity index 100%
rename from samples/ssl/WebModuleUnit1.dfm
rename to samples/sslserver/WebModuleUnit1.dfm
diff --git a/samples/ssl/WebModuleUnit1.pas b/samples/sslserver/WebModuleUnit1.pas
similarity index 100%
rename from samples/ssl/WebModuleUnit1.pas
rename to samples/sslserver/WebModuleUnit1.pas
diff --git a/samples/ssl/Win32/Debug/PUT OPENSSL DLLs HERE OR IN YOUR WINDOWS PATH b/samples/sslserver/Win32/Debug/PUT OPENSSL DLLs HERE OR IN YOUR WINDOWS PATH
similarity index 100%
rename from samples/ssl/Win32/Debug/PUT OPENSSL DLLs HERE OR IN YOUR WINDOWS PATH
rename to samples/sslserver/Win32/Debug/PUT OPENSSL DLLs HERE OR IN YOUR WINDOWS PATH
diff --git a/samples/wincellarclientRESTAdapter/MainFMX.fmx b/samples/wincellarclient_withrestadapter/MainFMX.fmx
similarity index 100%
rename from samples/wincellarclientRESTAdapter/MainFMX.fmx
rename to samples/wincellarclient_withrestadapter/MainFMX.fmx
diff --git a/samples/wincellarclientRESTAdapter/MainFMX.pas b/samples/wincellarclient_withrestadapter/MainFMX.pas
similarity index 100%
rename from samples/wincellarclientRESTAdapter/MainFMX.pas
rename to samples/wincellarclient_withrestadapter/MainFMX.pas
diff --git a/samples/wincellarclientRESTAdapter/ProjectGroupServerAndClient.groupproj b/samples/wincellarclient_withrestadapter/ProjectGroupServerAndClient.groupproj
similarity index 100%
rename from samples/wincellarclientRESTAdapter/ProjectGroupServerAndClient.groupproj
rename to samples/wincellarclient_withrestadapter/ProjectGroupServerAndClient.groupproj
diff --git a/samples/wincellarclientRESTAdapter/RESTServicesU.pas b/samples/wincellarclient_withrestadapter/RESTServicesU.pas
similarity index 100%
rename from samples/wincellarclientRESTAdapter/RESTServicesU.pas
rename to samples/wincellarclient_withrestadapter/RESTServicesU.pas
diff --git a/samples/wincellarclientRESTAdapter/WineCellarClientRESTAdapter.dpr b/samples/wincellarclient_withrestadapter/WineCellarClientRESTAdapter.dpr
similarity index 100%
rename from samples/wincellarclientRESTAdapter/WineCellarClientRESTAdapter.dpr
rename to samples/wincellarclient_withrestadapter/WineCellarClientRESTAdapter.dpr
diff --git a/samples/wincellarclientRESTAdapter/WineCellarClientRESTAdapter.dproj b/samples/wincellarclient_withrestadapter/WineCellarClientRESTAdapter.dproj
similarity index 100%
rename from samples/wincellarclientRESTAdapter/WineCellarClientRESTAdapter.dproj
rename to samples/wincellarclient_withrestadapter/WineCellarClientRESTAdapter.dproj
diff --git a/samples/winecellarclientlivebinding/MainFormU.dfm b/samples/winecellarclient_withlivebinding/MainFormU.dfm
similarity index 100%
rename from samples/winecellarclientlivebinding/MainFormU.dfm
rename to samples/winecellarclient_withlivebinding/MainFormU.dfm
diff --git a/samples/winecellarclientlivebinding/MainFormU.pas b/samples/winecellarclient_withlivebinding/MainFormU.pas
similarity index 100%
rename from samples/winecellarclientlivebinding/MainFormU.pas
rename to samples/winecellarclient_withlivebinding/MainFormU.pas
diff --git a/samples/winecellarclientlivebinding/ProjectGroupServerAndClient.groupproj b/samples/winecellarclient_withlivebinding/ProjectGroupServerAndClient.groupproj
similarity index 100%
rename from samples/winecellarclientlivebinding/ProjectGroupServerAndClient.groupproj
rename to samples/winecellarclient_withlivebinding/ProjectGroupServerAndClient.groupproj
diff --git a/samples/winecellarclientlivebinding/WineCellarClientLiveBinding.dpr b/samples/winecellarclient_withlivebinding/WineCellarClientLiveBinding.dpr
similarity index 100%
rename from samples/winecellarclientlivebinding/WineCellarClientLiveBinding.dpr
rename to samples/winecellarclient_withlivebinding/WineCellarClientLiveBinding.dpr
diff --git a/samples/winecellarclientlivebinding/WineCellarClientLiveBinding.dproj b/samples/winecellarclient_withlivebinding/WineCellarClientLiveBinding.dproj
similarity index 100%
rename from samples/winecellarclientlivebinding/WineCellarClientLiveBinding.dproj
rename to samples/winecellarclient_withlivebinding/WineCellarClientLiveBinding.dproj
diff --git a/samples/winecellar/MainDataModuleUnit.dfm b/samples/winecellarserver/MainDataModuleUnit.dfm
similarity index 100%
rename from samples/winecellar/MainDataModuleUnit.dfm
rename to samples/winecellarserver/MainDataModuleUnit.dfm
diff --git a/samples/winecellar/MainDataModuleUnit.pas b/samples/winecellarserver/MainDataModuleUnit.pas
similarity index 100%
rename from samples/winecellar/MainDataModuleUnit.pas
rename to samples/winecellarserver/MainDataModuleUnit.pas
diff --git a/samples/winecellar/MainWebModuleUnit.dfm b/samples/winecellarserver/MainWebModuleUnit.dfm
similarity index 100%
rename from samples/winecellar/MainWebModuleUnit.dfm
rename to samples/winecellarserver/MainWebModuleUnit.dfm
diff --git a/samples/winecellar/MainWebModuleUnit.pas b/samples/winecellarserver/MainWebModuleUnit.pas
similarity index 100%
rename from samples/winecellar/MainWebModuleUnit.pas
rename to samples/winecellarserver/MainWebModuleUnit.pas
diff --git a/samples/winecellar/WINES.FDB b/samples/winecellarserver/WINES.FDB
similarity index 100%
rename from samples/winecellar/WINES.FDB
rename to samples/winecellarserver/WINES.FDB
diff --git a/samples/winecellar/Win32/Debug/fbclient.dll b/samples/winecellarserver/Win32/Debug/fbclient.dll
similarity index 100%
rename from samples/winecellar/Win32/Debug/fbclient.dll
rename to samples/winecellarserver/Win32/Debug/fbclient.dll
diff --git a/samples/winecellar/WineCellarAppControllerU.pas b/samples/winecellarserver/WineCellarAppControllerU.pas
similarity index 100%
rename from samples/winecellar/WineCellarAppControllerU.pas
rename to samples/winecellarserver/WineCellarAppControllerU.pas
diff --git a/samples/winecellar/WineCellarServer.dpr b/samples/winecellarserver/WineCellarServer.dpr
similarity index 100%
rename from samples/winecellar/WineCellarServer.dpr
rename to samples/winecellarserver/WineCellarServer.dpr
diff --git a/samples/winecellar/WineCellarServer.dproj b/samples/winecellarserver/WineCellarServer.dproj
similarity index 100%
rename from samples/winecellar/WineCellarServer.dproj
rename to samples/winecellarserver/WineCellarServer.dproj
diff --git a/samples/winecellarserver/WineCellarServer.res b/samples/winecellarserver/WineCellarServer.res
new file mode 100644
index 00000000..6876088a
Binary files /dev/null and b/samples/winecellarserver/WineCellarServer.res differ
diff --git a/samples/winecellar/WinesBO.pas b/samples/winecellarserver/WinesBO.pas
similarity index 100%
rename from samples/winecellar/WinesBO.pas
rename to samples/winecellarserver/WinesBO.pas
diff --git a/samples/winecellar/nbproject/private/private.xml b/samples/winecellarserver/nbproject/private/private.xml
similarity index 100%
rename from samples/winecellar/nbproject/private/private.xml
rename to samples/winecellarserver/nbproject/private/private.xml
diff --git a/samples/winecellar/nbproject/project.properties b/samples/winecellarserver/nbproject/project.properties
similarity index 100%
rename from samples/winecellar/nbproject/project.properties
rename to samples/winecellarserver/nbproject/project.properties
diff --git a/samples/winecellar/nbproject/project.xml b/samples/winecellarserver/nbproject/project.xml
similarity index 100%
rename from samples/winecellar/nbproject/project.xml
rename to samples/winecellarserver/nbproject/project.xml
diff --git a/samples/winecellar/www/css/styles.css b/samples/winecellarserver/www/css/styles.css
similarity index 100%
rename from samples/winecellar/www/css/styles.css
rename to samples/winecellarserver/www/css/styles.css
diff --git a/samples/winecellar/www/index.html b/samples/winecellarserver/www/index.html
similarity index 100%
rename from samples/winecellar/www/index.html
rename to samples/winecellarserver/www/index.html
diff --git a/samples/winecellar/www/js/jquery-1.7.1.min.js b/samples/winecellarserver/www/js/jquery-1.7.1.min.js
similarity index 100%
rename from samples/winecellar/www/js/jquery-1.7.1.min.js
rename to samples/winecellarserver/www/js/jquery-1.7.1.min.js
diff --git a/samples/winecellar/www/js/main.js b/samples/winecellarserver/www/js/main.js
similarity index 100%
rename from samples/winecellar/www/js/main.js
rename to samples/winecellarserver/www/js/main.js
diff --git a/samples/winecellar/www/pics/block_nine.jpg b/samples/winecellarserver/www/pics/block_nine.jpg
similarity index 100%
rename from samples/winecellar/www/pics/block_nine.jpg
rename to samples/winecellarserver/www/pics/block_nine.jpg
diff --git a/samples/winecellar/www/pics/bodega_lurton.jpg b/samples/winecellarserver/www/pics/bodega_lurton.jpg
similarity index 100%
rename from samples/winecellar/www/pics/bodega_lurton.jpg
rename to samples/winecellarserver/www/pics/bodega_lurton.jpg
diff --git a/samples/winecellar/www/pics/bouscat.jpg b/samples/winecellarserver/www/pics/bouscat.jpg
similarity index 100%
rename from samples/winecellar/www/pics/bouscat.jpg
rename to samples/winecellarserver/www/pics/bouscat.jpg
diff --git a/samples/winecellar/www/pics/domaine_serene.jpg b/samples/winecellarserver/www/pics/domaine_serene.jpg
similarity index 100%
rename from samples/winecellar/www/pics/domaine_serene.jpg
rename to samples/winecellarserver/www/pics/domaine_serene.jpg
diff --git a/samples/winecellar/www/pics/ex_umbris.jpg b/samples/winecellarserver/www/pics/ex_umbris.jpg
similarity index 100%
rename from samples/winecellar/www/pics/ex_umbris.jpg
rename to samples/winecellarserver/www/pics/ex_umbris.jpg
diff --git a/samples/winecellar/www/pics/generic.jpg b/samples/winecellarserver/www/pics/generic.jpg
similarity index 100%
rename from samples/winecellar/www/pics/generic.jpg
rename to samples/winecellarserver/www/pics/generic.jpg
diff --git a/samples/winecellar/www/pics/lan_rioja.jpg b/samples/winecellarserver/www/pics/lan_rioja.jpg
similarity index 100%
rename from samples/winecellar/www/pics/lan_rioja.jpg
rename to samples/winecellarserver/www/pics/lan_rioja.jpg
diff --git a/samples/winecellar/www/pics/le_doyenne.jpg b/samples/winecellarserver/www/pics/le_doyenne.jpg
similarity index 100%
rename from samples/winecellar/www/pics/le_doyenne.jpg
rename to samples/winecellarserver/www/pics/le_doyenne.jpg
diff --git a/samples/winecellar/www/pics/lurton-pinot-gris.jpg b/samples/winecellarserver/www/pics/lurton-pinot-gris.jpg
similarity index 100%
rename from samples/winecellar/www/pics/lurton-pinot-gris.jpg
rename to samples/winecellarserver/www/pics/lurton-pinot-gris.jpg
diff --git a/samples/winecellar/www/pics/margerum.jpg b/samples/winecellarserver/www/pics/margerum.jpg
similarity index 100%
rename from samples/winecellar/www/pics/margerum.jpg
rename to samples/winecellarserver/www/pics/margerum.jpg
diff --git a/samples/winecellar/www/pics/morizottes.jpg b/samples/winecellarserver/www/pics/morizottes.jpg
similarity index 100%
rename from samples/winecellar/www/pics/morizottes.jpg
rename to samples/winecellarserver/www/pics/morizottes.jpg
diff --git a/samples/winecellar/www/pics/rex_hill.jpg b/samples/winecellarserver/www/pics/rex_hill.jpg
similarity index 100%
rename from samples/winecellar/www/pics/rex_hill.jpg
rename to samples/winecellarserver/www/pics/rex_hill.jpg
diff --git a/samples/winecellar/www/pics/saint_cosme.jpg b/samples/winecellarserver/www/pics/saint_cosme.jpg
similarity index 100%
rename from samples/winecellar/www/pics/saint_cosme.jpg
rename to samples/winecellarserver/www/pics/saint_cosme.jpg
diff --git a/samples/winecellar/www/pics/viticcio.jpg b/samples/winecellarserver/www/pics/viticcio.jpg
similarity index 100%
rename from samples/winecellar/www/pics/viticcio.jpg
rename to samples/winecellarserver/www/pics/viticcio.jpg