Monthly Archives: March 2011

Different Software Process Methods in Practice

This post is written just to introduce the different software processes in practice. Below is a list of software development process methods that are either in use or were used in past, for various types of projects in different industries.

  • PSP and TSP
  • Waterfall
  • Sashimi Model
  • V-Model
  • V-Model XT
  • Spiral
  • Chaos Model
  • Top Down and Bottom Up
  • Rapid Application Development
  • Model Driven Engineering
  • Iterative development Process
  • Agile Software Process
  • Unified Process
  • eXtreme Process (XP)
  • LEAN Method (Agile)
  • Wheel and Spoke Model
  • Constructionist Design Methodology

Login to your website through Facebook

In this post we will see how to login to your website using facebook id. Facebook is giving this option to developers so that users of our website can avoid multiple registrations.

Steps to follow:

  • Create a facebook application.
  • Your app details will be displayed. Click on ‘Edit Settings’. Select ‘Web Site’ tab from left pane and fill details.
  • ‘Site URL’ should in the format http://www.techbana.com and ‘Site Domain’ should be in the format ‘techbana.com’. These values ensures that login control validates request only from techbana.com. If somebody else is copying my code it wont work in their website as the appid is connected with this particular domain.
  • Click on ‘Save Changes’. Now the settings which has to be configured in facebook site is over.

Lets create a new webpage for our website for authentication test.

<html>
<head>
<title>Try facebook Login</title>
</head>
<body>
<div id=”fb-root”></div>
<script src=”http://connect.facebook.net/en_US/all.js”></script>
<script>
FB.init({
appId:’YOUR_APP_ID’, cookie:true,
status:true, xfbml:true
});
FB.getLoginStatus(function(response) {
if (response.session) {

var profileDetails=document.getElementById(‘profileInfo’);
profileDetails.style.display=’block’;
FB.api(‘/me’, function(userData) {
if(userData != null) {
var image = document.getElementById(profileImage’);
image.src = ‘http://graph.facebook.com/’ + userData.id + ‘/picture’;
var name = document.getElementById(‘userName’);
name.innerHTML = userData.name
}
});
} else {
// no user session available, someone you dont know
var logButton = document.getElementById(‘loginButton’);
logButton.style.display = ‘block’;
}
});
function faceLogout()
{
FB.logout(function(response) {
// user is now logged out
window.location.href=window.location.href;
});
}
function faceLogin()
{
FB.login(function(response) {
if (response.session) {
window.location.href=window.location.href;
} else {
document.write(‘cancelled login’);
}
});
}
</script>
<div id=”loginButton” style=”display: none”>
<button onClick=”faceLogin()”>Login with Facebook</button>
</div>
<div align=”left” id=”profile” style=”display: none;”>
<img id=”profileImage”/>
<div id=”userName”></div>
<button id=”logoutButton” onClick=”faceLogout()”>Logout</button>
</div>
</body>
</html>

50 Must Have Android Apps for your Smartphone

1. Aldiko eBook

2. Little Photo

3. TuneIn Radio

4.Voice Search

5. Youtube

6. Facebook

7. Angry Birds

8. Twitter

9. Skype

10. WhatsApp

11. ZengaTV

12. Bible

13. Evernote

14. Business Insider

15. Lookout

16. LinkedIn

17. Asphalt5

18. ShopSavvy

19. WordPress

20. Foursquare

21. Astro

22. Magic Color Picker

23. Google Goggles

24. Google Translate

25. Opera Mini

26. Google Gesture Search

27. TubeMate

28. Basketball Shot

29. ArmySniper

30. Juggle Soccer

31. TED Air

32. Hungry Shark 2 Free

33. 3D Bowling

34. Football Kicks

35. CamScanner

36. The Periodic Table

37. C Programming (COP 2220)

38. Talk Tech to Me

39. Vintage Phone

40. SMS Lock

41. SantaBanta Jokes

42. A Sun Flashlight

43. Advanced English & Thesaurus

44. City Jump

45. Paper Toss

46. Office Jerk

47. CricketFever

48. ShakyTower

49. Google Maps

50. Talking Tom Cat Free