Sponsored Content
The Lounge What is on Your Mind? Post Your Favorite Joke! Laugh a Little! Post 302304599 by glen.barber on Monday 6th of April 2009 10:05:27 PM
Old 04-06-2009
(Not mine. Not sure where it originates.)

An SQL query walks into a bar, sees two tables, and asks: "Can I join you?"
 

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

Post Your Favorite UNIX/Linux Related RSS Feed Links

Hello, I am planning to revise the RSS News subforum areas, here: News, Links, Events and Announcements - The UNIX Forums ... maybe with a subforum for each OS specific news, like HP-UX, Solaris, RedHat, OSX, etc. RSS subforums.... Please post your favorite OS specific RSS (RSS2) link... (0 Replies)
Discussion started by: Neo
0 Replies

2. What is on Your Mind?

This will make you laugh.

Some of you may have seen this on other websites. But if you havnt this is great. It could actually be one of you here. Being in the IT Industry I have seen it ALMOST to this extent. The Website is Down!!! My Networks Down - FIX IT! :b: (0 Replies)
Discussion started by: Ikon
0 Replies

3. Web Development

Post Your Favorite FireFox Add-Ons Here

In an earlier poll I was a bit surprised to learn that FireFox was so popular, over 95% have voted for FireFox to date. So, let's take a little time and please list your favorite, most useful, FireFox add-ons (with links to the add-on) and add a few words on how often and how useful do you find... (17 Replies)
Discussion started by: Neo
17 Replies

4. What is on Your Mind?

Contagious Laugh

If you watch this and dont laugh, something is very wrong with you. Contagious Laugh .:b: (0 Replies)
Discussion started by: Ikon
0 Replies

5. What is on Your Mind?

Very Funny - Had to laugh

Guys, This is funny. http://i28.photobucket.com/albums/c228/jralph2005/bart.png jaysunn (2 Replies)
Discussion started by: jaysunn
2 Replies

6. UNIX for Beginners Questions & Answers

Is it a joke or a command?

Hello, I have found some commands in a forum under "top ten unix commands" topic and I'd like to ask: what does below command do: Could it really be a command or a joke? :(){ :|:& };: Thanks Boris (6 Replies)
Discussion started by: baris35
6 Replies
Tangram::Sucks(3pm)					User Contributed Perl Documentation				       Tangram::Sucks(3pm)

NAME
Tangram::Sucks - what there is to be improved in Tangram DESCRIPTION
Tangram has taken a concept very familiar to programmers in Java land to its logical completion. This document is an attempt by the coders of Tangram to summarise the major problems that are inherant in the design, describe cases for which the Tangram metaphor does not work well, and list long standing TO-DO items. DESIGN CAVEATS query language does not cover all SQL expressions Whilst there is no underlying fault with the query object metaphor per se, there are currently lots of queries that cannot be expressed in current versions of Tangram, and adding new parts to the language is not easy. some loss of encapsulation with queries It could be said this is not a problem. After all, adding properties to a schema of an object is akin to declaring them as "public". Some people banter on about data access patterns, which the Tangram schema represents. But OO terms like that are usually treated as buzzwords anyway. HARD PROBLEMS partial column select This optimisation has some serious dangers associated with it. It could either be no support for SQL UPDATE It may be possible to write a version of "$storage->select()" that does this, which would look something like: $storage->update ( $r_object, set => [ $r_object->{bar} == $r_object->{baz} + 2 ], filter => ($r_object->{frop} != undef) ); no explicit support for re-orgs The situation where you have a large amount of schema reshaping to do, with a complex enough data structure can turn into a fairly dif- ficult problem. It is possible to have two Tangram stores with different schema and simply load objects from one and put them in the other - however the on-demand autoloading combined with the automatic insertion of unknown objects will result in the entire database being loaded into core if it is sufficiently interlinked. replace SQL expression core The whole SQL expression core needs to be replaced with a SQL abstraction module that is a little better planned. For instance, there should be placeholders used in a lot more places where the code just sticks in an integer etc. support for `large' collections Where it is impractical or undesirable to load all of a collection into memory, when you are adding a member and then updating the con- tainer, it should be possible to This could actually be achieved with a new Tangram::Type. MISSING FEATURES concise query expressions For simple selects, this is too long: ... non-ID joins tables with no primary key tables with multi-column primary keys tables with auto_increment keys tables without a `type' column tables with custom `type' columns tables with implicit (presence) `type' columns fully symmetric relationships back-refs are read-only. bulk inserts Inserting lots of similar objects should be more efficient. Right now it generates a new STH for each object. `empty subclass' schema support You should not need to explicitly add new classes to a schema if a superclass of them is already in the schema. perl v5.8.8 2006-03-29 Tangram::Sucks(3pm)
All times are GMT -4. The time now is 12:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy