Recent Posts by joel

Subscribe to Recent Posts by joel 9 posts found

Jun 26, 2007
Avatar joel 9 posts

Topic: General Ruby/Rails Discussion / Rails and .NET

API shouldn’t need shared access to session information… Should be separate… Though given my rudimentary, though forming, knowledge of the weird world of pseudo desktop programming that is ASP.NET I wouldn’t be surprised if things would break here…

 
Jun 26, 2007
Avatar joel 9 posts

Topic: Vent / Ruby on Rails vs. ASP.NET

Microsoft has invested a lot of money into making sure that your web development experience is, in many ways, very similar to your desktop application development experience. And your mobile device development experience. And so on. Trouble is, it is different. It’s supposed to be different. It’s the web. The language of the web is HTML, CSS, Javascript, etc. It’s not drag-and-drop “controls”. That’s the language of desktop development. ASP.NET was originally built to abstract all this stuff away from the developer by adding stuff like drag-and-drop controls, event handling, etc. It was built so that the average VB developer writing a line-of-business app for his/her company could easily write it as a web app as well.

that’s exactly the problem I’m facing going the other way. ASP.NET is not a web application language imho – the controls are desktop controls, just using microsoft’s x/html schema to output the code. Forms are not server side elements to hijack in x/html – they’re elements on the bloody client side to give a framework to pass information back to the server. The mash of desktop jargon, words and “viewpoints” with the web leaves me wanting the control I’ve always had before but don’t seem to be able to in .NET

It really all depends on whether that .Net professional is open to alternate solutions. Most .Net developers that I know are too scared of jeopardizing their job security to start investigating other technologies.

zing!

 
Jun 26, 2007
Avatar joel 9 posts

Topic: General Ruby/Rails Discussion / Rails and .NET

You’ll have to look at creating API’s for them to talk to one another. Best option I can think of.

You never know, recreating it in RoR might be quicker + more efficient/effective?

 
Jun 26, 2007
Avatar joel 9 posts

Topic: General Ruby/Rails Discussion / Goin the other direction...

I’m slowly getting used to it.

I really do not like the way it takes away the good control you have in other languages based on the concept that “it’s how we do it on the desktop”, because obviously it should always be that way even though it’s completely different. This is not like creating a desktop application where you’re not building up the components from machine code – the framework (x/html + css + js) exists for that and is customisable to the nth degree. The “one form to rule them all” thing is a perversion of the x/html elements – why is everything that should be run at the server enclosed by a client tag?!? and don’t even get me started on the use of non-web-specific terminology that is blatantly incorrect (but fine for desktop). >< >< >< >< >< ><

redmond, you get an “F” for the web. It’s any wonder IE6 was so poor after a year and you never bothered to undertake further development or view the web seriously. /rant (and with more to come)

 
Jun 26, 2007
Avatar joel 9 posts

Topic: Mac Switchers / Considering the switch to force myself to learn Ruby

also, the more I’m exposed to ASP.NET the more I think Microsoft doesn’t understand the Web at all. Web Apps are not desktop apps through a new “tunnel”. They’re a different beast, which requires control at levels ignored at desktop app development level.

 
Jun 26, 2007
Avatar joel 9 posts

Topic: Mac Switchers / Considering the switch to force myself to learn Ruby

@ed: command + tilde = switch “windows” in same program.

http://flickr.com/photos/jufemaiz/517739637/ <—that’s my rig. All running on the 13” MacBook, so combined with the rest of the peripherals I get the best of both worlds.

I switched to a mac three years back when it would have cost me twice what my 1GHz PPC iBook (12”) cost to get the equivalent PC option (Sony VAIO 12”) and I’ve never looked back :D

 
Jun 26, 2007
Avatar joel 9 posts

Topic: Mac Switchers / Tempted to take the plunge, but have some questions first

Easily.

I run a 1 year old macbook, 2GHz + 2GB (80GB HDD + 500GB external HDD + 24” Dell) and it’s great for development and photography/photoshop/the rest (photographer + developer).

You won’t be disappointed. Especially if you’ve got an external monitor. So easy to use two.

 
Jun 25, 2007
Avatar joel 9 posts

Topic: General Ruby/Rails Discussion / Goin the other direction...

Appologies for the delay all, and thank you for the comments. I kept checking my posts under my username and it didn’t indicate a reply (used to other forum software).

I know it’s going to be the biggest pain in the backside. The biggest problem I’m having at the moment is the creation of custom iterators. I’m not happy with the grid list, paginated lists etc that are provided – I need more subtle control (maybe I’m not doing things the MS way :\)

So, let’s say I want to create a custom iterator for output code, including using if/else/else-if statements, how would I go about that? I currently have a PagedDataSource object(?) so that I can use pagination. Now, I need something more than a simple Repeater, and that’s where I come unstuck. I need to be able to create (or not create) links based on variables within that object and some outside (eg a user). Any thoughts?

 
Jun 15, 2007
Avatar joel 9 posts

Topic: General Ruby/Rails Discussion / Goin the other direction...

G’day all from Australia. I’m a developer who is far more at home in RoR and PHP environments, however I am on a project now that requires the use of ASP.NET. So to all the switchers I’m hoping to get some information on how to do things I find easy (hello PHP/RoR) the hard (hello ASP.NET).

First up, a question on ASP.NET in general. Why must there be a form for server side operations to occur simply for text output?

Second, I’m attempting to keep a navigation section up to date and a little more tidy and would like to either do the equivalent of render partial or a php function where I pass a few variables to it and it will output code on the page (plus alter the class of the body and a couple of other things). Any thoughts?

Any ideas or directions on where to find potential solutions would be much appreciated.

Regards, Joel

http://euphemize.net