|
This question is impossible to answer in a technical forum. Try searching Google for some documentation on TCP/IP and firewalls; you will find plenty to keep you occupied for a few weeks. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
I'm a college student and as part of my work I have to make a game in XNA (does not include life cycle)
I want to do this well and have researched software life cycles and such but many only apply to multiple developers or are too big i.e. dive into publishing and marketing which I don't need.
Is there anyone who can share some life cycles so that I can have a structured development?
Thanks!
|
|
|
|
|
|
There are lot of free UML tools available. I need any single one, which should be good (possible to draw all sort of diagrams and manipulate them), just for learning purpose.
Can anyone please recommend which one should I choose? Can I download the same and install?
Please suggest.
Thanks
meeram395. Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
StarUML[^] is a good one. It's no longer actively developed, but that doesn't take away from the underlying quality of it."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Thank you very much Pete!! Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
You're welcome."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
"NClass" is pretty good for designing UML for c# applications here
|
|
|
|
|
Hi folks !
I'm trying to design an application (in C++ but that doesn't matter I guess, anything object-oriented would work the same) which has to synchronize a bunch of events together.
Basically, you would have a several data structure instances which would contain lists of events. An event would have a timestamp and be "runable".
The application would have to synchronize all the events, i.e : "run" them when their timestamp is equal to the current time, with an accuracy of 0.1 millisecond.
Also, I would like to be able to input some additional events "real time" (as close as it can get to real time actually)
I'm simply looking for the best way to do this (not necessarily to code it, but to design it, in terms of class digram). I have been googling a bit for that but I didn't find much. Apparently there's something called the "scehdule-task design pattern" but couldn't find any info about it.
Any hints or ideas ?
|
|
|
|
|
I have a question:
Suppose my application is having a three layer architecture, contains UI Layer, Business Layer & Data Layer. Now think that, these three layers can be build and deployed seperately.
Now my question is, how the communication between the UI layer and Business Layer or BusinessLayer and Data Layer be happen? In other words, if there is a method in Buisness Layer class referenced in UI Layer, how the UI Layer should know it should call the particular class in Business Layer?
Is it happen through WebServices? Would be great if any article relating to this subject.
Regards
meeram395
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Web Services, Sockets, Named Pipes, MSMQ, they can communicate through whatever means is most applicable to your scenario. There isn't one technology that fits all problems, you have to look at your problem and figure out which technology solves it best.
meeram395 wrote: how the UI Layer should know it should call the particular class in Business Layer?
There needs to be some coupling between the two layers to make this happen. Inside the UI layer there's a distinction between what is displayed and how it's displayed. The what is the part that's coupled to the rest of the system - it's the information that's sent to and from the service/business layer to so it's job. This is where the UI layer needs to know what the rest of the system does. How it displays it is totally up to the UI layer, that's the part that's completely independent from the rest of the business logic. The basic designs to separate these parts inside the UI layer are MVC, MVP and MVVM. Here's[^] a quick and dirty on those.
|
|
|
|
|
Thanks Jimmanuel, Thanks a lot. This fully answers my query. And thank you for the article.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Glad to help
|
|
|
|
|
I currently have a Player class that can LoadContent(),Render(GameTime) and other stuff like that, I also have a bullet class that is similar. Is there a good way to manage getting input , controlling and updating the player and bullets, and some place to fire them?
So far i have player having a list of bullets, and a drawable game component that draws them if they are fired.
|
|
|
|
|
Hope you will get all necessary information here.
http://forums.xna.com/forums/t/43047.aspx
|
|
|
|
|
Thanks for the reply, turns out that by the time i read this i had devised a working solution to handel this.
Had a "PlayerManager","BulletManager" classes that related so that the player can fire and the bulletmanager will draw/updaete the bullets.
Thanks again!
|
|
|
|
|
So, I've been trying to do a lot more reading rather than just coding recently. I'm trying to understand a lot more about architecture, design and putting to use all those wonderful keywords I've read about since I became a professional programmer. I've bought a few books recently, Agile: Patterns & Practices in C# by Bob Martin, Code Complete and I do own the GoF book.
Maybe it's me not doing enough reading, maybe it's that I'm a more practical person overall and can't quite extend these simple examples beyond the most basic ideas. I've tried to separate my view, presentation etc. But keep finding logic and/or objects make their way into parts I'm pretty certain they shouldn't.
I'm working with C#, but figure this is what I'm trying to understand so posting here is best. What book / article / blog etc. would you recommend for a professional developer with experience of larger systems that is looking to learn more about how the big boys programmers (don't want to be sexist!) really write their software using the principals, patterns etc. that there is so much about out there. There must be companies that actually use this stuff.
|
|
|
|
|
|
Thanks for the recommendations. I was looking at those two earlier. I've opted for the Microsoft one as it's most likely I'll be able to apply as I go and thus get a firmer grasp.
|
|
|
|
|
I love the idea of the cloud based storage and services but having to pay MS to host it based upon things like used space, bandwidth and other factors seems to me to add a layer of financial complexity to application roll-out, implementation, and pricing to clients.
It also seems to open you up to potential abuses by outside clients that could write error filled code that drives your transaction and data rates through the roof making you partially responsible for what could end up being a huge bill if things go pear shaped.
Does anyone know if there are plans to allow the Azure platform to be run within a companies own cloud or is MS really focusing on JUST offering this as a hosted service in their data centers only as part of their long term revenue stream? I could see this, and to be honest it would not surprise me in the least, but I was just wondering if anyone had heard anything.
|
|
|
|
|
Ray Cassick wrote: Does anyone know if there are plans to allow the Azure platform to be run within a companies own cloud
That I do not know, but you could build your own cloud with the open source version of Eucalyptus[^].
I are Troll
|
|
|
|
|
I am an ASP.NET web dev but I am trying to build myself a little desktop application that takes control of another application for me.
What I want it to do is pretty simple, type some text into a textbox on another application then click a few buttons for me. Problem is I don't even know where to start or what language would be best to write this in? Can anyone point me in the right direction.
I can give more information for anyone who is interested
Thanks,
Colum
|
|
|
|
|
Hi,
I would do such things (and most others) in C#.
For keyboard input, .NET has a SendKeys class.
For mouse input, you would need P/Invoke to call native code in Windows DLL libraries, such as
[DllImport("user32.dll", CallingConvention=CallingConvention.StdCall, SetLastError=true)]
public static extern IntPtr SendInput(int count, ref INPUT input, int size);
[DllImport("user32.dll", CallingConvention=CallingConvention.StdCall, SetLastError=true)]
public static extern IntPtr SendInput(int count, ref INPUT2 input, int size);
[DllImport("user32.dll", CallingConvention = CallingConvention.StdCall, SetLastError = true)]
public static extern IntPtr SetCursorPos(int x, int y);
public struct MOUSEINPUT {
public int dx;
public int dy;
public int mouseData;
public int dwFlags;
public int time;
public IntPtr dwExtraInfo;
}
public struct INPUT {
public uint type;
public MOUSEINPUT mi;
}
public struct INPUT2 {
public uint type1;
public MOUSEINPUT mi1;
public uint type2;
public MOUSEINPUT mi2;
}
Now most of this is considered a hack as you can't do it reliably: it suffices for another application, window or control to suddenly get focus or being shown on the display, for your keys and/or mouse clicks to be intercepted by them (and maybe causing havoc).
The better way is to use application interfaces, if they exist.
Example: there are "Primary Interop Assemblies" for controlling Office from .NET
|
|
|
|
|
This is great thank you, I'll have a go at this, the application is for personal use so it being a hack is fine.
Basically I am an online poker player and there is a guy who is VERY bad. So I plan to keep pressing the search button until he sits down and then have the application very quickly sit me in the best seat available before all the others players get in there.
There are alot of commercial applications that do very similar things but for the life of me I didnt know where to start.
Thanks,
Colum
|
|
|
|
|
I am a college student and have been analysing, designing and now about to program a small project with another developer.
Is their any good ways of sharing the load between us?
|
|
|
|