Social engine database conventions for mod creation - socialengine

I m new to social engine module development.I wud like to know some basic social engine convention.
How do I get the default social engine adapter (the one I m already
logged with & the one users r NOT)so that I can use it to CRUD my database table.
Are there two types of adapter needed for registered and
guest(unregistered) users
What are the other social engine database conventions.
PLS HELP ME, I M NOVICE.
THNX

Try this excellent tutorial from Marco Enrico: The Complete Guide to Social Engine 4 Module Development

Related

questions/tagged/botframework LUIS

I am planning to build a similar chatbot built by Microsoft team for a super mall in china (https://microsoft.github.io/techcasestudies/bot%20framework/2017/06/21/CaaP-SuperBrandMall.html), I have below requirement :I am using visual studio 5 for Bot Framework.
I want to get the details of different clothes available in the store
I want to fetch the data from Azure SQL ( Already have data in csv format)
I want to connect LUIS too
Integration with Skype
I have the following queries:
Which type of dialog is used here? Can I do it with only FormFlow dialog?
Integration of Bot framework with Azure SQL( Mainly fetching the details of location of clothes for particular ocassion,gender,brand in mall)
What modification is required in Model folder in bot framework?
Integration of LUIS
Please help me with this if anybody can suggest/add.
Thanks in advance.
Which type of dialog is used here? Can I do it with only FormFlow dialog?
FormFlow suits for handling and managing a guided conversation, based upon the specified guidelines (or collecting information from the user).
Based on your scenario and requirements, your bot would have more complex logic, integrate with LUIS service (recognize user intent and then do different operations based on what user said) and perform database etc, I recommend using dialogs to manage conversation flow, which would be more flexible.
Integration of LUIS and Integration of Bot framework with Azure SQL
In your bot application, you can create&use LuisDialog to integrate with a LUIS.ai application easily, which could help detect what a user wants to do by identifying their intent, and then you can get the matching entities from LuisResult within intent handler method in LuisDialog.
After you know user intent and the matching entities, you can call different methods or child dialogs to do different business logic or operate database to get location, stores or products etc details.
Note:
LUIS Bot Sample
Best practices of building LUIS app

Desktop admin panel for web app

I'm building a eCommerce web application for shops using Laravel/Foundation/PostgreSQL, and it will provide them (shop owners) with web based admin panel. My question is, can I make the super admin panel (the tool that I use to control everything) using desktop technology such as VB.net (or anything similar) so the desktop app control the database and maybe some configuration files. Is this considered good way to do things, and do anyone have a similar experience here?
Yes,it's possible to create such application.This kindda application can be called somewhat 'Database Applications'...Let me explain :
1 • You can develop such app in either C#/Vb.NET
2 • Basically, what you need is an app which will let you modify the database(e.g. Product name/Price/Quantity)
3 • For this, you need to first set up a connection between your app and your PostGre database.Take a look at [this)
4 • Then you can use textboxes,checkboxes,Listboxes and other controls you want to edit/delete/update the database . For this, take a look at this for inserting data and this for updating data .They are in c# but can easily be converted to vb.net using converter.telerik.com or simillar conversion tools
I guess that's all you need for now.Leave a comment for further assistance .

access google custom search from my android application

I m trying to develop an android application which takes recipe name from user and internally search recipe of entered name from Google custom search and give it user.
But i do not understand how to access Google custom search from my android application. Please help me to get out of this.
Thank u in advance.
Google provides a JSON/ATOM Custom Search API. That would be the way to go about integrating the Search into your Android application.
To make the integration processes easier into any client application and avoid doing all the REST stuff in your code, there are a number of client libraries made available. Take a look.
Be aware of the pricing i.e. free quota v/s billing.

Symfony2 - A good way to manage users

I'm starting a new project with Symfony 2 and I have to create and manage some users with many personnal informations.
I must decide to chose a way to manage us and i wish receive some advice for chose Symfony 2 basic implementation or FOSUserBundle for example.
Use FOSUserBundle. It's easy to install and configure.
At the most basic level, it lets you easily handle user storage and authentication through the database. It requires that your user entity conform to some of its 'standards', but after that you're free to write your user entity how you see fit.
AFAIK, it's also the most popular user management solution for Symfony2 right now, so you should be able to easily find resources/information for it online.

Using couchdb authentication by xmpp users

I'd like use couchdb for a web application with external user authentication by a XMPP-Server (Openfire). How can I achieve that? Let's say we have thre users:
basicuser#mydomain.tld
advanceduser#mydomain.tld
moreadvanceduser#mydomain.tld
Now basicuser#mydomain.tld should be able to read all documents that are suited for basic users.
advanceduser#mydomain.tld should be able to read AND write all documents that are suited for basic users.
moreadvanceduser#mydomain.tld should be able to read all documents that are suited for basic and advanced users.
Is that possible?
following OpenFire's Database installation Guide, only relational Databases work directly with Open Fire:
MySQL
Oracle
Microsoft SQLServer
PostgreSQL
IBM DB2
HSQLDB
My first thought was to try and move the complete database to couchdb.
Anyways, you will need different groups for mapping the different types of users. As far as I know, read/write access in CouchDB cannot be granted or revoked for single documents, but for databases. So you will end up with 3 databases, each for one type of access level.
I am not sure if it is a good advice to hanlde document based authentication in CouchDB by "tagging" documents with authlevels.
So, I can think of different szenarios:
If your XMPP server ot the database
was able to verify credentials via
webservices, you could make use of
that in the login procedure in your
couchapp.
If there are Webservices to your Openfire backing database, you could use these to synchronize users with couchdb and map them to auth lvl groups. I think this is not a very good approach, as you will have to handle updated or deleted users as well and have another point to think about security as well. This could of course also be done by scripting on python or what ever language you prefer.
Use LDAP to provide auth. Does not work with CouchDB for now.
Maybe a good idea would be to make
use of Z-XMPP, strophe or
basically any js framework that
handles XMPP in some way? There you
could learn about XMPP
authentication and maybe use this to
verify auth credentials with XMPP. I also just learned that there is a book about "Professional XMPP Programming with JavaScript and jQuery".
Now, these are no complete solutions provided, but something to think about, and discuss it.
Oh, and there's another Thread here at StackOverflow.
Regards, Chris