wonder Expert Licensed User Longtime User Aug 12, 2016 #1 I have some stuff hosted on a B4A server. If I were to migrate to a B4J solution, would I simple be able to copy-paste the code? My server code has nothing but 2 or 3 additions to the original B4A server example. Many thanks in advance.
I have some stuff hosted on a B4A server. If I were to migrate to a B4J solution, would I simple be able to copy-paste the code? My server code has nothing but 2 or 3 additions to the original B4A server example. Many thanks in advance.
S sorex Expert Licensed User Longtime User Aug 12, 2016 #2 what do you mean with B4A server? an android device bound to a wan ip address & port ? Upvote 0
wonder Expert Licensed User Longtime User Aug 12, 2016 #3 Yes. http://www.ninjadynamics.com is currently hosted on an ASUS tablet with a broken screen. Hurray for recycling! The problem is that it goes offline a lot, and everytime it happens I have to restart the tablet. Upvote 0
Yes. http://www.ninjadynamics.com is currently hosted on an ASUS tablet with a broken screen. Hurray for recycling! The problem is that it goes offline a lot, and everytime it happens I have to restart the tablet.
S sorex Expert Licensed User Longtime User Aug 12, 2016 #4 ok, B4J could do the job. but why not install something like XAMPP? takes 5 minutes and you have a fast webserver including mySQL to play with. Upvote 0
ok, B4J could do the job. but why not install something like XAMPP? takes 5 minutes and you have a fast webserver including mySQL to play with.
Erel B4X founder Staff member Licensed User Longtime User Aug 14, 2016 #5 sorex said: but why not install something like XAMPP? takes 5 minutes and you have a fast webserver including mySQL to play with. Click to expand... B4J server is most probably faster than a php server. Though performance will be good enough with both options. Upvote 0
sorex said: but why not install something like XAMPP? takes 5 minutes and you have a fast webserver including mySQL to play with. Click to expand... B4J server is most probably faster than a php server. Though performance will be good enough with both options.
KMatle Expert Licensed User Longtime User Aug 14, 2016 #6 sorex said: something like XAMPP Click to expand... If you have an own root server (hosted or at home) I would prefer B4J then, If not (>90% of the "cheap" hosted server solutions) you're with php & MySql. Erel said: B4J server is most probably faster Click to expand... I like the idea of having B4J as a server. Why? More possibilities and it should be more secure. Most hacking attacks assume you have a standard apache & MySql installation. With B4J you can secure it like you want by code (with php you often don't have so many options). Very easy. Upvote 0
sorex said: something like XAMPP Click to expand... If you have an own root server (hosted or at home) I would prefer B4J then, If not (>90% of the "cheap" hosted server solutions) you're with php & MySql. Erel said: B4J server is most probably faster Click to expand... I like the idea of having B4J as a server. Why? More possibilities and it should be more secure. Most hacking attacks assume you have a standard apache & MySql installation. With B4J you can secure it like you want by code (with php you often don't have so many options). Very easy.
wonder Expert Licensed User Longtime User Aug 14, 2016 #7 KMatle said: I like the idea of having B4J as a server. Why? More possibilities and it should be more secure. Most hacking attacks assume you have a standard apache & MySql installation. With B4J you can secure it like you want by code (with php you often don't have so many options). Very easy. Click to expand... Exactly, B4J + some homemade encryption should be completely alien to any attacker. Upvote 0
KMatle said: I like the idea of having B4J as a server. Why? More possibilities and it should be more secure. Most hacking attacks assume you have a standard apache & MySql installation. With B4J you can secure it like you want by code (with php you often don't have so many options). Very easy. Click to expand... Exactly, B4J + some homemade encryption should be completely alien to any attacker.
S sorex Expert Licensed User Longtime User Aug 14, 2016 #8 KMatle said: Most hacking attacks assume you have a standard apache & MySql Click to expand... actually nothing to do with both BUT 1. with poor usage/knowledge of the coder and not taking care or sql injections and these work on mysql, sql, access or whatever you hang behind it. 2. leaks in the open source stuff they use. (WordPress and the likes) the only reason I would go for B4J is for socket stuff as it would be similar as in your B4x clients. Upvote 0
KMatle said: Most hacking attacks assume you have a standard apache & MySql Click to expand... actually nothing to do with both BUT 1. with poor usage/knowledge of the coder and not taking care or sql injections and these work on mysql, sql, access or whatever you hang behind it. 2. leaks in the open source stuff they use. (WordPress and the likes) the only reason I would go for B4J is for socket stuff as it would be similar as in your B4x clients.
wonder Expert Licensed User Longtime User Aug 14, 2016 #9 So, how vulnerable do you think a B4J solution* is, in your opinion? *like Erel's example project, serving HTML pages. Upvote 0
So, how vulnerable do you think a B4J solution* is, in your opinion? *like Erel's example project, serving HTML pages.
Erel B4X founder Staff member Licensed User Longtime User Aug 14, 2016 #10 It really depends on your experience and what you are trying to accomplish. If you want to use an existing framework such as WordPress then there is no doubt that you should use PHP. However as a generic backend solution it will be easier to use B4J, especially for B4X developers. B4J also has very good support for WebSockets which breaks the standard request / response communication pattern. Upvote 0
It really depends on your experience and what you are trying to accomplish. If you want to use an existing framework such as WordPress then there is no doubt that you should use PHP. However as a generic backend solution it will be easier to use B4J, especially for B4X developers. B4J also has very good support for WebSockets which breaks the standard request / response communication pattern.