How to use the new feature Presence? - phoenix-framework

As Phoenixframework verison 1.2 has not yet released, I am searching for any examples about using the new feature of Presence using 1.2rc1
How to detect if a user has turned into offline? to get his current connection status? online or offline?
Any help is appreciated!

The Phoenix.Presence docs are available here: https://hexdocs.pm/phoenix/1.2.0-rc.1/Phoenix.Presence.html
You can always follow the hexdocs convention of http://hexdocs.pm/<package>/<version>/<module>.html to find what you need.
Hope this helps!

Related

Nativescript force latest store version

I am trying to figure out how to force the user to use the app only if he has the last update of it( So the app should check if the local and store version are the same). I've seen this feature in some apps. Found this plugin : https://www.npmjs.com/package/nativescript-store-update. It works great on iOS but it does not work at all on Android, so I am clueless right now on how to do this. Any help would be much appreaciated. Thanks
While not sure about forcing to update the store version, you can use the newly introduced AppSync functionality to create mandatory updates for your codebase. See this blog post for details or just search for nativescript-app-sync

Mean.js, where do I start?

I have to make a web application with Meanstack for a school project. I have downloaded and installed the newest version of the Mean.js boilerplate (http://meanjs.org/) and got the sample site working. But I have no idea how to continue. There are so many files in the project directory. Can somebody please tell me the files I can/need to change to start building my own app?
I'm very new to programming, so sorry if this is a stupid question. I'd really appreciate an answer.
This is what the project folder looks like.
The meanjs.org documentation (here) has plenty of great information about what each file does, and what you might need to research to get started. Besides that there are a lot of great tutorials out there, one I liked in particular was this youtube series.
Please note that in these examples I am using the mean stack from meanjs.org, not mean.io, and I am using version 0.3. If you are using a different MEAN stack, or version, I would still recommend first looking through the official documentation, and then various tutorials online.

Opentaps 1.5M3 not available to download

I have started using opentaps and want to set up this in multi-tenant mode.
In opentaps-1.5, create-tenant target is not available so we can not create tenant dynamically.
After googling a lot, i found latest ofbiz provide this functionality
I want to this in opentaps, but not able to download 1.5M3.
Can any one help me over this?
Opentaps is an OFBiz fork, they are are not in synch for a long time now. To use the latest OFBiz features and profit from the community work I suggest to switch to standard OFBiz.
If you need certain features in standard OFBiz which are missing, please feel free to submit a Jira issue.

Restkit 10.0: What's new

What`s new with the RestKit-release? Should I update? Where are the changes documented?
I can not find any information on the several news channels: website, github, twitter, google groups
This is on github.
And describes in general terms the changes.
I would suggest if you are in active development you should upgrade, if you are maintaining something and have no problems with Restkit I would leave as is until you able to fully test with the new version.
http://restkit.org/api/ This page will give you API documents.
https://github.com/RestKit/RestKit/wiki/Upgrading-from-v0.10.x-to-v0.20.0 - Upgrading from v0.10.x to v0.20.0

Need help with CodeIgniter v2.0.2

I'm new to CI. Anyone could help to the latest version of CI. most of the Tutorial is for last version and it didn't work for the latest version. please help.
You can still get started using what's availabe for 1.7, if you pay attention to how file structure changed between the two versions (ie the System and Application directories are now separate). To that, many of the tuts you'll find are applicable - bearing in mind that the paths may differ, and you'll want to verify that the functions are still supported in 2.0 by use of the User's Guide).
If you walked through the tut in your link, using the Models, Views, Controllers directories inside Application, you'd get a "Hello World" page.
The User's Guide is a great tool, as are the Community Forums.
Best of luck to you.
I recently migrated a site using CodeIgniter from 1.7 to 2.0. - I found the following link to be very useful:
http://philsturgeon.co.uk/news/2010/05/upgrading-to-codeigniter-2.0

Resources