That sounds great Traktion. Building a website using a html book and notepad is very time consuming and frustrating as I have to make a small change then run the index file again to see if what I did was what I wanted. Learning a bit of good stuff. I have now played around with tables and just uploaded the changes to my site, so now I can have information both vertically and horizontally. Got a long way to go. Thanks for your information.
Great answers. Getting this functionality up and running should be priority number one after Beta. Having a website that lacks state is a no-no in today’s web. A throw back to the early 90s. I wonder if there is a way to pass user information to websites, for example, logins are usually done with php and server calls. But since safe abstracts away this step by allowing user credentials to flow to apps running on the network, does this also apply to webpages? Can you get user information on a public page from a maidsafe login??
If you check the site I put, is it has state http://dirvine.safenet You can do a lot more statically if you wish, but there are better option as well. So true a deeper dive required, but simple enough just now. You could even use react etc. for stateful sites, just not between sessions (safely yet) .
Only in as much as it’s all alpha you mean?
I’ve had some success just writing/retrieving app state via json files. Not the most efficient thing in the world, but that’ll stay so long as alpha data stays.
Yes and getting access to low level API for larger state (like comments etc.) Session and app state should be cool though.
@Kagetoki I had a couple of remoteStorage.js web apps working-ish and storing state in the network - not ported to the updated API yet tho. I’ve been creating an RS.js backend that works using SAFEnetwork rather than just web hosted storage. This means existing RS.js web apps will work on SAFEnetwork.
As I need nodeJS for my upcoming website (probably in a year of 20) I’ve tried to wireframe my setup for this to look if eveything runs the way I want…
Now I can confirm that webpack runs, but you have todo some mods such as injecting bootstrap.min.css with jquery into your index.html.
I’ve also set the jquery and bootstrap JS files manually in the index.html
I even have Jquery running 2 times because if I don’t set it manually in HEAD then bootstrap doesn’t find Jquery and it’s also needed another time before building the app.bundle.js which is a problem I can’t get solved otherwise…
Runs in firefox and brave but gives undefined in chromium, opera which I saw before but I can’t remember what the cause was… maybe stricter handling of the CSP ?? I need to try this, maybe you know how to solve this ?
That’s excellent news. I hope that when safe is ready to launch there is very few ‘caveats’ that detractors could bring against the network. “Oh, its cool and all, but I can’t make dynamic pages so I’ll pass…” etc. We’re ready for this thing to explode.
Another bug found me… https://github.com/maidsafe/safe_launcher/issues/235
slightly disrupting the scan for new sites…
Out fell 105 websites
=> 65 non-default
Nice and fast to get on and upload: http://test.bluebird.safenet/
EDIT: The demo app installation steps didn’t parse on my system (Debian Jessie) so I did it “manually”:
$ wget http://apt.maidsafe.net/repos/maidsafe.apt.gpg.key $ sudo apt-key add maidsafe.apt.gpg.key
Use a text editor to create file “/etc/apt/sources.list.d/maidsafe.list” containing the following line:
deb http://apt.maidsafe.net/repos/apt/debian jessie main
(or wheezy, if you’re still running that).
$ sudo apt-get update $ sudo apt-get install safe-demo-app
Finally, run the demo app:
Worked for me on Jesse … “sudo ls” then copy/paste the steps for both launcher and demo app.
Dunno, I copied and pasted the commands and got the key spewing to stdout, so I used the manual approach.
I also thought people might like to know the file path to the demo app since I had to search for it.
Is there going to be a way of searching for content or is this a thing of the past?
Yes, me too. On Ubuntu 16.04 both were installed in /usr/bin, but I had to search because they were not in $PATH.
As far as I’m aware there’s no intention to make public data apparent; so, if its not advertised or location is not guessable, it’ll remain hidden to those aware of it.
In time I expect there will be services that call to a central database but where the element that is dynamic for that is actioned perhaps is not clear just yet. I wonder that all actions will be possible, just different from now. So, server side function might be scripted in a different way and the raw data is stored in the network. If ever there is capability to do scripts in network, then pay for service perhaps will become possible.
Not sure where to post this centrally, but here’s my contribution to the available sites:
Thanks David I appreciate the reply.
Would I be correct in concluding that the (viral) announcement of the alpha client has done more to get new people in than anything else in recent times? And it didn’t cost anything: nothing paid to some copy-and-paste artists nor band-wagon radio jocks.