|
keygen and kel posted:i think i want to start a project to access data in this horrible industry specific XML format from a horrible Web Service and dump it into a sql db. I'm back and forth between java and c# but i'm think c# because who am i kidding everyone uses windows, i'd like to make it not terrible what's a good starting point for learning c#. (i've done development before but it was a long time ago.) http://msdn.microsoft.com/en-us/vstudio/hh341490 http://www.learnvisualstudio.net/
|
# ? May 31, 2013 20:56 |
|
|
# ? Jun 6, 2024 06:12 |
|
keygen and kel posted:i think i want to start a project to access data in this horrible industry specific XML format from a horrible Web Service and dump it into a sql db. I'm back and forth between java and c# but i'm think c# because who am i kidding everyone uses windows, i'd like to make it not terrible what's a good starting point for learning c#. (i've done development before but it was a long time ago.) idk does your company do c# normally? bc otherwise java is better. users shouldn't be allowed to run code anyway manning books are p good imo but if you still remember a programming then u can probably get by on the msdn reference
|
# ? May 31, 2013 21:26 |
|
Nomnom Cookie posted:idk does your company do c# normally? bc otherwise java is better. users shouldn't be allowed to run code anyway it comes down to needing to get a good handle on .net stuff, knowing MSSQL pretty well already and already having a full msdn sub. i'll be writing it to fulfill a pretty specific internal role, but want to do it generic enough i can open source it if it doesn't suck.
|
# ? May 31, 2013 21:40 |
|
keygen and kel posted:it comes down to needing to get a good handle on .net stuff, knowing MSSQL pretty well already and already having a full msdn sub. i'll be writing it to fulfill a pretty specific internal role, but want to do it generic enough i can open source it if it doesn't suck. read a thing about linq and become a happy
|
# ? May 31, 2013 22:20 |
|
Bloody posted:read a thing about linq and become a happy linq seems cool, but still gotta connect to the horrible servers and get the ugly xml then i can use linq to make it play nice in the internal db.
|
# ? May 31, 2013 22:38 |
|
keygen and kel posted:linq seems cool, but still gotta connect to the horrible servers and get the ugly xml then i can use linq to make it play nice in the internal db. yeah with words like that im pretty sure youre in the wrong thread pal
|
# ? May 31, 2013 23:53 |
|
no i'm pretty sure i'm a terrible programmer now. i'm an excellent debugger though.
|
# ? May 31, 2013 23:55 |
|
linq is kind of overrated but it has its uses.
|
# ? Jun 1, 2013 01:00 |
|
Doc Block posted:No they don't, at least not in the way that you mean. They get turned into calls to the C function objc_msgSend(), which sends the object the message.
|
# ? Jun 1, 2013 01:23 |
|
MononcQc posted:If you want to know why things are like they are -- how is computer formed -- I think Code: The Hidden Language of Computer Hardware and Software is a very nice introductory text. I started with high-level languages from the beginning and reading it had me going "oooh that's how!" I quite enjoyed this book as well.
|
# ? Jun 1, 2013 02:55 |
|
Shaggar posted:I shopped around our maps contract about a year ago and sent stuff out to everyone. Bing got back to me immediately and was reasonably priced and had a great api. Then mapquest came back and said they'd give us the addition stuff we wanted for free with our current contract which is very cheap so we stuck w/ them. Google didnt respond until about a week after we had reupped w/ mapquest and was hilariously overpriced google earth enterprise support is loving atrocious slowly gotten slightly better over the least year but not really
|
# ? Jun 2, 2013 10:49 |
|
Bing maps API is actually pretty drat good
|
# ? Jun 2, 2013 15:17 |
|
Bing maps UI is still pretty drat terrible.
|
# ? Jun 2, 2013 15:50 |
isn't bing pretty much the biggest thing that is losing microsoft money atm?
|
|
# ? Jun 2, 2013 16:38 |
|
OBAMA BIN LinkedIn posted:isn't bing pretty much the biggest thing that is losing microsoft money atm? Idk surface maybe? Or winrt
|
# ? Jun 2, 2013 16:41 |
|
c# is really frustrating me; there's a steep piece of the learning curve that i'm just staring at, uncomprehending of course, if i spent my time researching and learning the fundamentals better, this wouldn't be a problem. but i'm trying to make this stupid web service so i can show it to somebody tomorrow
|
# ? Jun 2, 2013 16:43 |
|
prefect posted:c# is really frustrating me; there's a steep piece of the learning curve that i'm just staring at, uncomprehending post the curve itt and maybe we can explain it incorrectly
|
# ? Jun 2, 2013 17:38 |
|
Bloody posted:post the curve itt and maybe we can explain it incorrectly it's a half-dozen concepts i don't really understand like "service contracts" and "data contracts" and magic words in brackets that go in front of the class and/or function definitions and there's this "service stack" thing that's supposed to simplify it, but it's still weird and involves web.config files and dtos and apphosts i know none of those things should be terribly confusing by themselves, but not understanding any of them makes it tough for me to actually do anything (yes, i know this is the wrong way to learn something new; i was like this with perl until i finally understood the basics of the programming language, and then all kinds of poo poo suddenly made sense. ultimately, it's my own fault. also, i need better air conditioning)
|
# ? Jun 2, 2013 17:44 |
|
prefect posted:it's a half-dozen concepts i don't really understand like "service contracts" and "data contracts" and magic words in brackets that go in front of the class and/or function definitions and there's this "service stack" thing that's supposed to simplify it, but it's still weird and involves web.config files and dtos and apphosts ah, yes, this reminds me of the time i hit 'new mvc website project' or whatever then gazed with horror for half an hour
|
# ? Jun 2, 2013 17:59 |
|
prefect posted:it's a half-dozen concepts i don't really understand like "service contracts" and "data contracts" and magic words in brackets that go in front of the class and/or function definitions and there's this "service stack" thing that's supposed to simplify it, but it's still weird and involves web.config files and dtos and apphosts Oh cool, I think you and I both have the same awful learning style
|
# ? Jun 2, 2013 19:05 |
|
~Coxy posted:google earth enterprise support is loving atrocious All of the major map players are loving horrible to deal with on the enterprise scale, like getting a license to transfer x,y coords geocoded with bing maps, to another provider which also uses bing maps on an enterprise scale should be relatively simple when both parties pay 100K to 1M a year in license fees to the same company right? no it's a 6 month process. I had an issue open with Bing/Navteq where an entire inhabited island (pop 350) which was several miles long wasn't appearing on their map (you could clearly see it with sat view) it took them just shy of two years to resolve.
|
# ? Jun 2, 2013 22:07 |
|
a bug affecting maximum of 350 people out of 6 billion? let me get right on that.
|
# ? Jun 2, 2013 22:14 |
|
350 rich assholes, probably
|
# ? Jun 2, 2013 22:18 |
|
more dope growing hippies, but at the same time it's 28 square mile inhabited island in a first world country.
|
# ? Jun 2, 2013 22:22 |
|
prefect posted:it's a half-dozen concepts i don't really understand like "service contracts" and "data contracts" and magic words in brackets that go in front of the class and/or function definitions and there's this "service stack" thing that's supposed to simplify it, but it's still weird and involves web.config files and dtos and apphosts In c# there are these things called Attributes (java has the same thing, but calls them Annotations) that can be applied to many elements in your code to give them properties that can be used by the compiler or other users to figure out things about those elements programmatically. So for example the ServiceContractAttribute that you see as [ServiceContract] is used by WCF to discover interfaces to be used as Services. By adding [ServiceContract] you're telling WCF "here is a service". In addition the ServiceContract attribute has properties like the namespace or service name that can be used by WCF to figure out what information to display in the WSDL. Also in WCF you'll see OperationContracts which you use to annotate methods inside a service interface. By marking the method as an OperationContract it tells WCF "hey this is a method". Like with ServiceContract there are some properties you can use to tell WCF more info about the method. By default if you do not add any properties to the attribute, it will just use the method name and property names of the method in the WSDL. If you add the name property to the OperationContract attribute you can set the name to be whatever you want. The DataContractAttribute defines information (usually for a poco) about what parts of an object should be serialized. Now normally when you create a WCF service in vs you get the service interface class (IService by default) that's got all the basic attributes it needs and then in the web.config you have the configuration that tells WCF what services to wire up and some basic information about classes and stuff. Then the WCF runtime uses the service attributes to figure out more information about the service. Attributes are useful because they add information about an element without changing the element. They may seem weird now but once you understand them they're really straightforward and incredibly useful.
|
# ? Jun 2, 2013 22:46 |
|
Bloody posted:ah, yes, this reminds me of the time i hit 'new mvc website project' or whatever then gazed with horror for half an hour lol
|
# ? Jun 2, 2013 23:32 |
|
somebody tell me if i'm right in my understanding that MVC is actually just a loving state machine
|
# ? Jun 3, 2013 04:20 |
|
Police Academy III posted:somebody tell me if i'm right in my understanding that MVC is actually just a loving state machine Wat
|
# ? Jun 3, 2013 04:44 |
|
MVC is not about state machines, but about how you break up components of a system. It basically means that a given set of classes/modules take care of dealing with the 'model', or how you represent your data and state in memory or in disk, another set takes care of the 'view', or how to use the data in the model and display them to the user, and a controller is the set of classes or modules that deal with representing events, calling for poo poo to be changed. - The view basically only gets stuff from the model and whatever the controller gives it to display content. - The model is called both by the controller and the view. Usually the view only calls for read-only operations. - The controller is going to receive user events, and ask the model to change data, or tell the view to alter how things are represented. MVC is often used as the name of something called "MVP", or "Model-View-Presenter". In MVP: - The view blindly receives data to be displayed. The data will usually come from the Presenter. - The Model still represents data, but is only called by the Presenter, which will both read, write, and whatnot from it. The View doesn't know about the Model. - The Presenter is the middle man that contains all the logic between the model and the view and glues them together. It will take user input, do whatever it needs with the model about it, and provide whatever data the view needs to have to present back to the user. People will use MVC for both of these approaches rather interchangeably, though. MVC (and MVP) are both higher level ways to describe architecture patterns, and don't have much to do with state of the application as it executes as much as it has to do with how code is split up and responsibilities are divided across components of the code base.
|
# ? Jun 3, 2013 04:45 |
|
aka: all our html templates go in this directory, all our sql goes in another, and then what's left over goes in the last directory
|
# ? Jun 3, 2013 05:47 |
|
and curious to see what the thread makes of http://www.stanford.edu/~ouster/cgi-bin/papers/fiz.pdf
|
# ? Jun 3, 2013 05:49 |
Police Academy III posted:somebody tell me if i'm right in my understanding that MVC is actually just a loving state machine the gently caress is this?
|
|
# ? Jun 3, 2013 08:38 |
|
Police Academy III posted:somebody tell me if i'm right in my understanding that MVC is actually just a loving state machine you are in the right thread
|
# ? Jun 3, 2013 15:26 |
|
tef posted:and curious to see what the thread makes of http://www.stanford.edu/~ouster/cgi-bin/papers/fiz.pdf looks like razor or any other modern mvc. it also makes the common academic mistake of assuming modules will be small and simple therefore the template language does not need many features. also I get a very portlet vibe from it and that's a bad thing.
|
# ? Jun 3, 2013 15:28 |
|
Bloody posted:ah, yes, this reminds me of the time i hit 'new mvc website project' or whatever then gazed with horror for half an hour chumpchous posted:Oh cool, I think you and I both have the same awful learning style yeah, you guys understand my bad brain Shaggar posted:In c# there are these things called Attributes... thanks much; i appreciate the info. i've finally broken down and started watching intro-to-c# and intro-to-visual-studio videos. i won't get my dumb side project done any time soon, but maybe i'll actually understand what i'm doing eventually (i'm actually quite good with p-langs, honest; i'm not totally clueless )
|
# ? Jun 3, 2013 15:41 |
|
tef posted:and curious to see what the thread makes of http://www.stanford.edu/~ouster/cgi-bin/papers/fiz.pdf it looks like it'd be terribly inflexible and ivory tower, just like most java software
|
# ? Jun 3, 2013 15:58 |
|
Java is the quintessential language for solving real problems. That's why it's hardly used in academia
|
# ? Jun 3, 2013 16:38 |
|
my school uses a lot of java and it is a dumb language
|
# ? Jun 3, 2013 17:02 |
|
CamH posted:my school uses a lot of java and it is a dumb language Undergraduates should be seen and not heard
|
# ? Jun 3, 2013 17:12 |
|
|
# ? Jun 6, 2024 06:12 |
|
Nomnom Cookie posted:Undergraduates should be seen and not heard
|
# ? Jun 3, 2013 17:13 |