Fri 07 Sep 2007
I run a Google ad on my blog page, I have no illusions of getting rich from it, however my dream is to one day buy a case of beer...
[Read More]Fri 07 Sep 2007
I run a Google ad on my blog page, I have no illusions of getting rich from it, however my dream is to one day buy a case of beer...
[Read More]Wed 05 Sep 2007
Tue 04 Sep 2007
Was wondering if anyone had experience running Eclipse in a multiuser environment?
[Read More]Wed 22 Aug 2007
Tue 26 Jun 2007
Wed 16 May 2007
Mon 09 Apr 2007
Mon 19 Mar 2007
------------------- | WIDGET | |-----------------| | CDE | | NAME | | NAME_FR | -------------------
private method on our DAO:static class defined on it named: Widget_<lang> Where <lang> is the two digit ISO language code. For example Widget_fr The static class extends WidgetWidget.hbm.xml file would be updated to read:name property in the Widget$Widget_fr class, it's mapped to NAME_FR now instead of the default NAME column (if you don't specify a column attribute Hibernate just uses the property name as the column name).Widget_en or Widget_fr object where Hibernate has mapped properly the Name property based on the locale passed in. Your user will never be concerned with which Widget_<lang> they receive because to them it's just a Widget with a properly a localized Name property.Wed 24 May 2006
Is a question that I have never gotten a straight answer to from my C++ zealot friends. I hang out with a bunch of guys who write C++ all day, they work on thick-client financial applications and one works on research systems for the government.
When I asked them "where are all the C++ web frameworks" they don't know, and actually they don't care. So when they spout off about how C++ is the only language a *real* programmer would use, I usually rally with the aforementioned question and they quiet down.
I took it upon myself to do some googling and found roughly 1 web application framework for C++: http://jose.med.kuleuven.ac.be/wt/doc/tutorial/wt-sdj.pdf. But it is an example of a thick-client application developer trying to write for the web. He needs a dynamic view tier, something that is adhoc and decorated perhaps with inline-C++ (or some other type of hook to the server).
The other framework I know about is Wexus, by none-other than one of the C++ guys I know. I think he wrote it just so he would have a response to my question :) It can be found here: http://labs.wexussoftware.com/ but I must admit that I know little about it other than it has its own page-scripting language, but I'm not sure if it follows MVC or how evolved it really is.
For Java, I found a truckload. In fact in my opinion there are too many to choose from!
So, I decided I would ask someone who would be in the know. I emailed Bjarne Stroustrup to see if he could confirm my suspicions. Here is a transcript of the email:
> Craig Tataryn wrote: > Hi Bjarne, I'm professionaly a Java programmer and was wondering > something. In the Java world, we have Sun, and Sun (or a commitee) > produces specifications for things which would benefit the Java > eco-system (if I may use this kitchy terminology). So, two > specifications were produced of significance to the web application > developer: > > Java Servlet Specification > Java Server Pages Specification > > Within the Servlet spec, Sun defined the reference framework for what > a "Web Application" is, and how, if one were to create a web application > container, they could do so by following this spec. > > Of course this caught on like wild fire, and whether one likes or > dislikes Java, the specs setup a nice environment which cultivated Java > as a web-language (dare I say "of choice") for developers. > > I have many friends who are C++ programmers, so I queried them as to > what type of framework they use to build webapplications. They > either a) don't write web applications b) wrote their own framework > (http://http://labs.wexussoftware.com/) or c) use Ruby on Rails. > The last option was described to me as "use the right tool for the job" > > I guess the answer I am looking for is, why hasn't C++ penetrated the > web application frontier? Is it lacking an entity to write a > specification for such a thing? In my googling, I can't even find > commericial web application frameworks for C++. I just don't get it > because it would produce some pretty fast, resource savvy webapps.
You have the answer in the first line "Java has Sun" or maybe more correctly "Sun has Java". That is, there was an organization willing to pay dozens of millions of dollars for development supported by more dozens of dollars for marketing. The C++ community never had that. Instead, many organizations built tools for areas they found important for their own customers. In consequence, the C++ community don't have massive frameworks (unless you count CORBA), just applications (usually massive applications, such as amazon, google, ebay, and amadeus).
There is a lot of C++ "behind the scenes", e.g. financial software, embedded systems, games, infrastructure (e.g. CORBA, JVM), OS. See my applications page. There just isn't a mechanism for that to be seen (like Java's little coffee cup).
- Bjarne Bjarne Stroustrup, http://www.research.att.com/~bs
Sounds like a challenge for the ebays, Amazons and Googles of the world.
Give us your dog food.
You are viewing a mobilized version of this site...
View original page here