32 Replies - 1952 Views - Last Post: 23 June 2012 - 12:36 PM
#1
Ideas for instant messenger
Posted 09 June 2012 - 12:08 PM
Replies To: Ideas for instant messenger
#2
Re: Ideas for instant messenger
Posted 09 June 2012 - 12:11 PM
http://www.dreaminco...cation-in-c%23/
http://www.dreaminco...-chat-advanced/
#3
Re: Ideas for instant messenger
Posted 09 June 2012 - 12:16 PM
macosxnerd101, on 09 June 2012 - 12:11 PM, said:
http://www.dreaminco...cation-in-c%23/
http://www.dreaminco...-chat-advanced/
Thanks for the quick reply. Could you suggest me any topic that I could use for mini project? I've 5 months time and i know intermediate programming but just beginning c#.
#4
Re: Ideas for instant messenger
Posted 09 June 2012 - 12:22 PM
Are you developing both the server and the client?
Check out those tutorials that macosxnerd101 mentioned, clone the programs from there build upon that.
You have an intermediate experience in programming. OOP? Then it won't be hard for you to plan the application. When it comes to coding you can always use the internet as a resource. There is EVERYTHING and I do mean everything, you just have to look.
This post has been edited by RexGrammer: 09 June 2012 - 12:23 PM
#6
Re: Ideas for instant messenger
Posted 09 June 2012 - 12:23 PM
Sent from my T-Mobile G2 using Tapatalk 2
#7
Re: Ideas for instant messenger
Posted 09 June 2012 - 12:24 PM
You say you have an intermediate programming skill level, but only starting C#. Care to elaborate on that? Like what other coding languages you do know? Or what you consider 'intermediate'?
You should read the tutorials that macosxnerd101 linked to you. If they are gibberish, then that topic will probably be too advanced for you. But you said you had 5 months. So if you don't rely strictly on class (because all courses are 10 times slower than you can teach yourself from a good book) you might be able to do it.
If you spent those 5 months applying yourself to lots of other resources then you have a real chance at doing the chat app. The fact that you are thinking about it now and not 5 days before deadline already puts you one up on most of the students we see.
Quote
You start by learning a coding language FIRST.
Learn to plan before you type.
THEN you start designing software with a purpose.
Resources, references and suggestions for new programmers. - Updated Mar 2012
#8
Re: Ideas for instant messenger
Posted 09 June 2012 - 12:29 PM
RexGrammer, on 09 June 2012 - 12:22 PM, said:
Are you developing both the server and the client?
Check out those tutorials that macosxnerd101 mentioned, clone the programs from there build upon that.
You have an intermediate experience in programming. OOP? Then it won't be hard for you to plan the application. When it comes to coding you can always use the internet as a resource. There is EVERYTHING and I do mean everything, you just have to look.
Yes. Both client and server. More like msn or google talk close but no way related to them.
Database is to hold registered users and record conversation.
And Internet has everything but many things too. ! There are so many ideas but they don't fit my criteria and it is very hard to choose the best or the appropriate one.
#9
Re: Ideas for instant messenger
Posted 09 June 2012 - 11:57 PM
tlhIn`toq, on 09 June 2012 - 12:24 PM, said:
You say you have an intermediate programming skill level, but only starting C#. Care to elaborate on that? Like what other coding languages you do know? Or what you consider 'intermediate'?
Well I'll be entering the final year of MCA and I'm in my summer vacation right now.
By intermediate programming skill I mean,
Know all the syntax of C/C++ and Java to solve common problems.
And by syntax, I mean core programming concepts. No collections or libraries(I prefer to code myself instead to use collections).
Know threading concept but never used realtime. Book examples don't help either.
Know ADO.Net but prefer coding myself instead of giving Visual Studio to do the connections.
Know basics for WPF.
Did a mini project on Inventory System using VB.Net 2 years ago using Access for back end.
On seeing these, could you tell me what level I'm in actually because I would like to know myself better.
The reason for selecting the Chat application project is,
1. networking(connecting remotely)
2. database(to maintain users and conversations)
3. multithreading(chat with multiple users)
4. WPF(UI design)
5. multiplatform(desktop, web and mobile versions, if time permits)
All these may look greedy and overwhelming but I got time and I can do it if I could get right guidance.
The requirements are
1. server and database run to monitor incoming connections and route message for intended users. Server is given a permanent address using a DNS service.
2. users must be registered(not LAN messenger). eg., by email for verification and username. They can connect from anywhere(not restricted to 1 location or IP).
3. online status.(could be a row in table). Server may ping the connected user at constant intervals to see if the user is still connected.
4. Log conversations.
With these requirements, I would like to know what are the classes and namespaces I can use to achieve these.
I promise that I will be restricting myself for asking the code. I just need pointers.
Any help is deeply appreciated.
#10
Re: Ideas for instant messenger
Posted 10 June 2012 - 12:10 AM
realMudassir, on 09 June 2012 - 07:29 PM, said:
RexGrammer, on 09 June 2012 - 12:22 PM, said:
Are you developing both the server and the client?
Check out those tutorials that macosxnerd101 mentioned, clone the programs from there build upon that.
You have an intermediate experience in programming. OOP? Then it won't be hard for you to plan the application. When it comes to coding you can always use the internet as a resource. There is EVERYTHING and I do mean everything, you just have to look.
Yes. Both client and server. More like msn or google talk close but no way related to them.
Database is to hold registered users and record conversation.
And Internet has everything but many things too. ! There are so many ideas but they don't fit my criteria and it is very hard to choose the best or the appropriate one.
Quick note. Msn stores the chat logs in xmls on the users machine. That isn't what you meant by recording information by any chance, is it?
#11
Re: Ideas for instant messenger
Posted 10 June 2012 - 12:28 AM
Julyuary, on 10 June 2012 - 12:10 AM, said:
Yes but google talk and others store information on a server. and also it's not appropriate to store username and passwords in xml.
And by the way, a client can be connected to the server by a static IP. How can the server communicate back to the client since it's not static or at 1 location.
#12
Re: Ideas for instant messenger
Posted 10 June 2012 - 01:02 AM
You say that you know the C/C++ syntax but then refer to it as programming concepts...
Quote
Uhmmmm.... This really doesn't make sense.
Quote
Uhmmmm..... VS doesn't "do" (by the way define what "do" means to you) the connections on it's own.
And if you coded in C/C++, C# or VB, then you've surely used one big library. It's the .NET Framework. You just can't code everything from scratch, that's why the .NET Framework is there, to help you.
So I guess your level is pretty basic. You should really think about a project more suited for you.
So go to: Martyr2'S Mega Project Ideas List! and find something easier to do.
Also I recommend you first read a C# book from cover to cover. I recommend Microsoft Visual C# 2010 Step by Step, but that's just my preference, if you want to take a look at what others recommend check out: Recommended C# Books
We also have a great Learning C# Series | New To C#? Start Here!, although it's still in production, it's enough to get you on your feet.
This post has been edited by RexGrammer: 10 June 2012 - 01:13 AM
#13
Re: Ideas for instant messenger
Posted 10 June 2012 - 02:33 AM
Quote
Quote
Uhmmmm.... This really doesn't make sense.
As far as I'v learned, C/C++ syntax includes core programming constructs like keywords, control structures and such which is (as far as I know) part of original specification. STL(collections as in C#) was introduced much later. My college syllabus still follows the former and we still use 'Turbo C' (which everyone knows its pretty much outdated yet still a very powerful tool).
So I refer 'original spec of the language' as syntax and STL as collections. And I also know about the old library using the header file, if you're wondering.
Quote
Quote
Uhmmmm..... VS doesn't "do" (by the way define what "do" means to you) the connections on it's own.
By 'do', I mean using the 'data source' provided in VS which builds the connection string by itself(on instructions, though), connection object and handles data(like binding data to datagrid). I prefer creating a new connecting object myself and bind to datagrid manually. This way I know what all the operations I could do with and I'll be certain with it. I know that we can make VS to do for us and customize but still VS hides some code(which can be retrieved) and makes me uncomfortable.
Quote
Obviously, I know what the .Net library is and (almost) every program needs at least 1 library to be used. My point is to say that .Net library is enormous. I need help in identifying the needed classes that I must concentrate in order to start my project.
#14
Re: Ideas for instant messenger
Posted 10 June 2012 - 09:14 AM
You probably mean library. As in: Library (computing). Quote from the article:
Quote
In the world of .NET, most often you won't need anything else than what's provided in the .NET Base Class Library (Ok, there are some specific needs that have to be suited by third-party libraries, but it's something highly specialized which really isn't used every day).
You complain about VS doing to much for you? There is nothing stopping you to code the connection object and everything else related to the database CRUD functionality of your program by hand (as in write the code yourself in the text editor).
You don't know where to start? Why don't you take a look at those tutorials? You should be able to figure out what classes are used in those tutorials.
Here's some namespaces you might want to check out:
1. System.Net (Specifically System.Net.Sockets)
2. System.Threading
Of course you will have to use other namespaces, but these contain classes that are used to make application that utilize the Network.
This post has been edited by RexGrammer: 10 June 2012 - 09:24 AM
#15
Re: Ideas for instant messenger
Posted 10 June 2012 - 10:57 AM
I know this might be amateurish but I need help in this.
How do dynamically create an object(and invoke method) and start its own thread?
For eg.,
server listens for connections.
When a client wants to connect, the server must handle it on a new thread and continue listening for connections.
|
|

New Topic/Question
Reply



MultiQuote










|