Wednesday, July 18, 2012

Working on Login with Google feature

My Question on Support site for LampCMS project

Just want to let you know I'm currently working on Login with Google feature.
As many of you already know, Lampcms used to have a Login with Google via Google' FriendConnect service.
Through FriendConnect we also have a Login with Yahoo, AOL and OpenID

Earlier this year Google shut down the FriendConnect project and we lost all these Login options.

Then I got busy with rewriting Lampcms for the PR1 release and now finally have time to work on Google login integration. It's about 80% done.

Also in the process of researching the Google Login integration I stumbled across the newest Google+ API. It looks really cool - they now have a support for write methods - you can post links and actions to Google+ history API. As of now this is still in beta, I had to signup for beta testing to get access to it and I don't think it's available to end users yet.

The only problem with Google+ API is that it does not provide user's email address - there is no way to ask for user's permission to get their email address. This makes Google+ not suitable for the Login with Google+ feature because without email address there is no way to find if this is a new user or existing user signing up with Google+.

Of cause we can ask for email address as a second step in registration just like we do for Twitter and that's exactly how we used to it with FriendConnect, but that's kind of unattractive and I don't like it.

So I decided I will still add the support for Google+ but only as an option to add Google+ to existing account from the profile page. This will be done the same way you can add your Blogger and Tumblr account.

Once user authorizes/adds Google+ to their account, they can start sharing the questions, answers and comments on Google+ network.

Well, that what's I'm working on now. It will be in PR2 release.

Also I want to add support for translation of all strings that are used in Javascripts into the user's selected languages. This is very important step for making Lampcms fully internationalized.

Then as a last step I plan to start using the php's intl extension for support different locales. What this will do is it will allow us to translate time zone names into other languages using php's extension, also to format date/time into locale of user and also format numbers (number of questions, answers, the reputation score) according to locale.

This is a longer-term goal and intl extension in php is being actively developed and is getting better and better. We actually started using the intl extension at my current job's project and I really like it.

Ok, one more item on the longer-term goals is to make a .phar release of the Lampcms. The idea is to have entire /lib/ folder with all sub-folders as a single lampcms.phar file
This will make installation alot easier for less experienced users, also upgrading will be must simpler - just download one new .phar file and upload it to your server and you're done.

Click here to post your reply


No comments:

Post a Comment