Followers

Monday, July 7, 2008

Scala, XSLT, Java, JSTL, XML

Well, since last thursday I have been reviewing this new super language called Scala it sits on top of Java or .NET (which means you can use all of the libraries of these two platforms). This is great! I have another 3 words for it: I Love it. One big reason it's such a plus for me is because you can mix Scala code and XHTML (or xml)  at the same level so for instance:

var aVarName = insert html code here (the blogger won't allow it); 

Thats right, it's that easy. There is even a full online XML book for Scala available. Just follow the links off of scala-lang.org and you'll find it. Anyway, I found that I wasen't getting much work done so I started work under XSLT on Sunday which made be feel better again. I think I'll just save Scala 's tutorial for times I need to wait for things in real life. Otherwise, It's onwards with the programming languages for the masses. I really enjoy programming and all the varieties of languages. But when I'm not implementing my head goes dry and I get depressed not good. Always good to bounce ideas and plans with those you know so you can ingrain this knowledge.

I'm about to make a simple program to weed out defintion text from wikipedia.org's site using XSTLproc. The example I have works fine , but the implementation I wrote doesn't , so the solution is just a matter of blending both together (I get no errors either).

Until next time,

JohnnyL

Scala, Java, XML, JSTL, JSP

Thursday I was talking in a technical chat room on freenode and I heard someone mention Scala. And boy I have 3 words for you: I love it!. It has everything: imperative, OO, functional. I requires lot to learn, so I'm gonig to learn it in my off time. In the meantime I hope to employee myself as a computer repairman and website developer (especializing in SOA) Otherwise known as Services Oriented Archtecture. I have no love for interface development and wish to continue my programming practives programming and understanding rules and validations that go into storage or retrieval of database information. I really enjoy conversion based programming to. I was working with XSLT last night and really like it so far. I only go so far as a few XSLT transformation, but so far so good. I think it will be highly visible even in the future. As it related everything at the base level of understanding TAGS. JSTL uses it, and uses it well. Thats mostly what I think future websites will use. Scala or languages like it might have a deep imact especially given that:[/P][P]var var_name = [html]/html][/P][P]" is perfectly legal Scala code. See how the tags fit on the [same_level] as the 4gl code (scala)? Thats a beauty for me since matching up tags and interelated code can be a nightmare on most platforms. The only bad thing i have to say about Scala and (Haskell too) is that the documentation should have multiple ways at looking at the same thing but written together close to each other in the documentation itself. So all you tech book writers now have something to doI  know once I learn Scala I may just suggest myself to write a book since it may prove to be fun. Tah tah for now.

About Me

I am a programmer who enjoys the simple things in life.