|
There are lots of systems that allow you to use other systems (such as facebook or twitter) to authenticate so that they can post a comment. One option is to have a users table in your database where you store all your users and then a column in the table to store what type of user it is, i.e. facebook, twitter, google, your own member, etc.
When they want to login you'll need a separate link or a dropdown for them to select how they want to authenticate (facebook, etc).
Based on what you describe here you really just need to support multiple types of users by adding a flag to your user table and then also by providing the various login options.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Thanks for the reply. Another question, what about the comment box? for example facebook API comment box have those like,reply, and other stuff in it. how can i make a user who logs in as a normal member can reply those who uses facebook (if i use fb comment box), does this means i must modify facebook API? or should i just not use fb comment box, but my own comment box for all user.
|
|
|
|
|
I guess it depends on what you want to do. If you want to actually post to facebook then you'll need to use their api. If you just want a comment box that looks like facebook you just need to write all of the code yourself.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Thanks. I guess I'll just use the normal commentbox
|
|
|
|
|
that's a great discussion
|
|
|
|
|
What is the best way to respond when your team lead or project manager asks you: "What approach you are taking / following in this task?". Thanks for your input / suggestion.
|
|
|
|
|
Tell the truth. Seriously, how can you expect anyone else to have any idea what approach you are taking?
|
|
|
|
|
But I don't know what should I tell I am studying and then implementing something, then does telling the same one liner answer the question?
|
|
|
|
|
Just tell them what you are doing, how you are doing it, and why you are doing it. There is no 'right' answer to such a question, your boss probably just wants to get feedback from you, so he or she can decide whether that would help other people.
|
|
|
|
|
Tell them as they are after finding out simply how you are approaching the problem.
They may suggest an alternative approach to use but they should also explain why this is more suited that the current approach that you are using. If they don't explain why, I personally would ask why this is better purely as a learning exercise.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Hello brother,
I have faced several kind of such situation. When my manager gave me a task, i used to write it down on a piece of paper. I divided the task into following sections:
1> Requirement(As given by the manager)
2> Pre-Requisites( Things required to complete the task)
3> Architecture of the task(In brief, at least on paper, detailing to be done while documenting it)
When he used to walk up to me and ask me, i used to show him the paper. He used to look at it, modify it, give it to me and used to say : "Make these changes and then show me, once you finalize just document it and start coding".
Due to this there was no misleading, less talking more and precise working. Eventually we become meticulous in our work.
See, when you listen to any requirement, your brain might not understand at the first go. But when you start writing you will actually understand what your manager asks you to do. Most importantly you will have something to show.
Statements like "Sir, i was thinking that....." or "Sir, may be we could......"
Such statements are misleading and annoying, you may have a brilliant approach, but does not get reflected completely if you dont write it down, because the brain tends to forget what you thought an hour ago.
Best way, write it down and show it to your manager. Always carry a notepad. I consider myself a waiter who is just waiting for orders in a restaurant
Thanks a ton,
Rahul
|
|
|
|
|
Recent days, I have big confusion with learning another new language for recent project.
I already know C# and Ruby in addition with I am learning JAVA and Data structures & Algorithms.
But, now I am being assigned to learn PHP for new project in my company.
Seriously, I don't know the management thought about my carrier.
My question is..
is my company good to work?
Is it worth to learn another language which is called as PHP?
will I face any problem while attending job interview?(periodically, I am shifting from one language to another)
Thanks
--SJ
|
|
|
|
|
CodeNinja-C# wrote: is my company good to work? How could we answer that, we know nothing about it?
CodeNinja-C# wrote: Is it worth to learn another language which is called as PHP? It depends what direction you want to take in your career.
CodeNinja-C# wrote: will I face any problem while attending job interview? Only if you can't answer the interviewer's questions.
|
|
|
|
|
|
CodeNinja-C# wrote: Is it worth to learn another language which is called as PHP?
It certainly can't hurt to learn another language, especially one that is as popular as PHP. A good IDE can really help. I tried a few until settling on Komodo. Additionally, PHP has been around for a long time, so there is an abundance of PHP documentation, examples, and open source projects to help you. Really, it's just another ugly looking scripting language. Good luck with it!
"Go forth into the source" - Neal Morse
|
|
|
|
|
thanks for your replay and clarification
|
|
|
|
|
Learning a new language shouldn't be a problem. Specially it's from the same family of C...
After you will learn a few languages, you will learn that language isn't rally matter in development, as it's only a tool of implementation of ideas...
I can't see how the proven knowledge of an other programming language can hurt your chances in a job interview...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
thanks for your replay and clarification
|
|
|
|
|
More important that the languages are the frameworks behind them. While having a basic knowledge of the syntax of many languages is a "plus", a profound professional knowledge of one framework is a "must".
|
|
|
|
|
thanks for your replay and clarification
|
|
|
|
|
Quote: I don't know the management thought about my carrier
Every thing depends on your interest, if your interest is in C# i.e. if your career before was in C# and Ruby and is now being deflected from the path you wanted it to be, in this case i would suggest you to practice C#/Ruby (Spend some time irrespective of the current project). This would be helpful for your interviews.
Quote: is my company good to work?
If you are being asked to work on a different language, you can work on it but giving higher priority to your interest / career path. However working on different languages/domain does not make your company bad. Remember one thing : Every thing is market driven.
Your company will do what ever it has to for executing the projects (i.e learning new languages, new domains. If it is a service based company. I don't have an idea of a product based company)
Quote: Is it worth to learn another language which is called as PHP?
will I face any problem while attending job interview?(periodically, I am shifting from one language to another)
A practical thing is that no person can be a master of all (unless you have a vast experience).
I would say focus on one language. But as the company demands work on others as well.
So as i said, no company is bad unless it offers you a reasonable salary and the work being given is aligned with the market. I have been working in both development and testing projects for the past 5 to 6 years.
All depends on market as i already said.
Best of luck
|
|
|
|
|
Why are you posting new responses to such ancient threads?
Do you really think CodeNinja-C# is still waiting for input nearly THREE YEARS later?
The three responses you posted last week were also to incredibly old threads.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I agree, my mistake. I will take care from next time.
Was very busy with work, so dint pay attention to details.
Sorry for inconvenience.
|
|
|
|
|
|
I just got hired as a consultant by remote to this company in another town. This is a rant, but also a work issue i am running into regarding not really 'meshing' with another programmer.
So here is a scenario -- I went into this new job and was told that a service had to be re-architected to meet a different deployment scenario. Without going into this specifics, let's just say it requires a heck of a lot of refactoring, plus creating new databases.
What is really bugging me is my co-worker and I are continually clashing when we check in source code, since I do a SVN update and then Commit at the end of the day, and the next morning I come in and do a SVN update and find that not only is the work being essentially done for me, but the guy is actually duplicating my work. For example, I will write a POCO to access a database with, and then the next morning I find a new repository pattern and a *new* POCO with a different name but for exactly the same database row, and it's like (a) they don't trust me to touch the code or (b) they are just not even looking at my work.
I wish they would just wait to review my code until after the deliverable is complete, not as I am writing it. Or at the very least, actually 'review' my code and don't do my work over again. So annoying!
Basically the changes are occuring in a 'business layer' that is being shared in a DLL across two different projects. Also problematic
Sincerely Yours,
Brian Hart
|
|
|
|