Skip to main content

Posts

Showing posts with the label java

Structures: C -> Java -> Python -> Erlang

With C we had structures and unions. I like them, because, I don't always need to embed behaviors with data(class). So you'll do something like With Java, I'm forced to use classes, because that's how java is structured. They are purely object oriented. (eg: in C++) In python, you can take java's approach; but since Python is not Java ;-) and we tend to write less, We'll use dictionaries (or hashes in Perl) I'm a newbie to earlang (and to functional programming), I think there's no dictionaries, but tuples. Here's how we use tuples to achieve same (also applicable to python) much like json, isn't it? notice, there are no quotes around someone, that's an atom (this is erlang dude). This in python: Well, how do we understand what's what? hmm, ok, we can tag them with atoms, (this is a programming practice in erlang world) so our earlier example becomes, That's it. You can do this with python too, like...

Rich Internet Application & GWT : Angel of Java Programmers

We all are hearing the buzz about Rich Internet Applications (RIA) about a year or so. But, what the heck is that beast ? You may ask. For the user's perspective, it's the desktop like experience delivered over web. Yes, you feel like you are using a real desktop application (well, at least sort of). The richness of desktop controls is transferred to web. How RIA is build? Arise another question. These all started with that amazing kid called AJAX (Asynchronous JavaScript And XML). Then more and more tools become available, like Java FX , Adobe Air , Adobe Flex (and Adobe Flash ), Microsoft Silverlight . But these tools, though it gives rapid and organized web application development, required some kind of plug-ins to be installed on your browser. There is the importance of AJAX based RIAs, because JavaScript is enabled in almost all browsers in use today. However, It's not a fool proof solution, because there are people who switch off JavaScript for some reason, lik...

XML: Is it worth

  [ Source is from http://harmful.cat-v.org/software/xml/ ] Yes, I confess, I don't like XML at all. Reason, It's way too complication and I personally feels like it's a waste of storage space. Please, don't tell me that storage(be it memory or disk) is so cheap now a days. I still care. May be because, I started my programming (Computer Science) education with mighty "C". I always prefer to squeeze memory and make my programs as small as possible, (reason, why I changed from C++ to Java, then to Python: not to mention rapid development.) . Why use XML at all. There are good old RDBMS. Well if you find buzz about ODBMS, use them. Or use simple JSON . Or better, go for Google's ProtocolBuffers. Web programming in Java, now days become full of xml configuration files.And it'll go on, getting multiplied as your system gets bigger, web services included and so on. So much work, if some one ask me about it! Thanks to web2py , I can make the same applicat...

Java Certification

There is no validity for this course. I mean currently no institution or firms consider this as a qualification. But may be in future they consider so. This course differs from ordinary course. There is no projects or assignments. All we want to do is study the material provided by them and submit the home works. We have more than five months of time for that. And in total more than twenty home works. This course covers Basic of Java or Core Java. It starts from novice (ie., loops and declaring variables too ) and advances from there. This covers swing, File handling, Little bit RMI and client/server networking, Threads, Java Beans etc. etc. ... The course is maintained and developed by Mr. Sang Shin. Also there are many to help him. We get support from class mailing list. And if we complete the course successfully, we also get a certificate like above one that get to me. There are other courses too. For example Java Performance tuning, Java EE, Java FX etc. And like th...