I had a very stimulating and interessting discussion with a colleague about ORM and it's Pros and Cons. In my opinion, an ORM is useful only in the rarest cases. At least in my experience.
But I don't want to list my own arguments at this time. So I ask you, what do you think about ORM? What are the Pros and the Cons?
P.S. I've posted this…
I have internal pages that rely on an external API which I would like to build upon user request. Two options I thought about:
Make lots of 'thin' pages that specifies that if you want content about X, you need to log-in, and then the page will be built. Pros: user understands what he'll get when logging in. Cons: SEO implications of…
Hi,
My Case:
web application that need to send 1,000 messages per day to main gmail account.
(Only need to send email, not need receive emails - email client)
1. option - use php mail function + sendmail + config php.ini
php example:
<?php
$to = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers =…
We are facing an issue in the LYNC2010 dial-in to a meeting.
We redirect an Asterisk number to LYNC, whitch connects successfully in the dial-in plan of LYNC.
After calling from external network to the given number, we hear LYNC aswering and prompting us to enter the PIN and afterwards the hash key.
I should mention that all other…
What way is the best way to let users upload large files from there webbrowser to a server. I'm talking 200MB+ possible up to a few gigatyes. I have been thinking of a few possible solutions to the problem (not tried them yet) and this is basically the things I came up with. Server download speed will not be a problem but the users…
Is it possible via script/tool to generate authomatically many delete statements based on the tables fk relations, using Oracle PL/SQL?
In example: I have the table: CHICKEN (CHICKEN_CODE NUMBER) and there are 30 tables with fk references to its CHICKEN_CODE that I need to delete; there are also other 150 tables foreign-key-linked…
I've learned that MySQL can compress communication between servers and clients.
Compression is used if both client and
server support zlib compression, and
the client requests compression.
(from MySQL Forge Wiki)
The most obvious pros and cons are
pros: Reduced payload size
cons: Increased computation time
So, is…
what are the pros and cons of using this :
$globals['server_url'] = dirname(__FILE__);
$globals['mainfiles'] = dirname(__FILE__).'/main';
and the pros and cons of using this :
$globals['server_url'] = '/srv/www/htdocs/somwhere/';
$globals['mainfiles'] = '/srv/www/htdocs/somwhere/main';
And what do you suggest.
by the…
Which is a better choice on a development box if you primarily develop Asp.Net applications and SSRS reports. I have never had to use the Express editions, so I don't really know the pros or cons.
The cons I have listed for Standard+ editions are:
toll it takes on system resources
pain to attach database for projects…
So we have a GridView asp control and one of my coworkers doesn't like to use an DataSource to fill the GridView.
I wasn't sure if/what the pros and cons are of using one.
I don't mind using going through the wizard to set the type, and the select/update methods.
Besides using the wizard are there pros and cons?
Back again to look at a detail of LDom configuration that is often forgotten - the virtual console server.
Remember, LDoms are SPARC systems. As such, each guest will have it's own OBP running. And to connect to that OBP, the administrator will need a console connection. Since it's OBP, and not some…
I have been dreaming of writing book for really long time, and I finally got the chance – in fact, two chances! I recently wrote two books: SQL Programming Joes 2 Pros: Programming and Development for Microsoft SQL Server 2008 [Amazon] | [Flipkart] | [Kindle] and SQL Wait Stats Joes 2 Pros: SQL Performance Tuning…
I am currently creating an Entity System, in C++, it is almost completed (I have all the code there, I just have to add a few things and test it). The only thing is, I can't figure out how to implement some features. This Entity System is based off a bit from the Artemis framework, however it is different.
I'm not…
I work on a large Django application that uses CouchDB as a database and couchdbkit for mapping CouchDB documents to objects in Python, similar to Django's default ORM. It has dozens of model classes and a hundred or two CouchDB views.
The application allows users to register a "domain", which gives them a…
Suppose, I have an opensource project that depends on some library, that must be patched in order to fix some issues. How do I do that? My ideas are:
Have that library sources set up as a module, keep them in my vcs. Pros: simple. Cons: some third party sources in my repo, might slow down build process,…
I am using emacs on MacOS 10.6 with Terminal. I have a white background.
It's very hard to read quoted C++ strings. They are coming up in pale green. Keywords are in turquoise.
After searching through the source I cam across cpp.el and have determined that I am using the cpp-face-light-name-list…
did i encounter a hibernate bug or do i have an error i dont see:
select enty.number from EntityAliasName enty
where enty.myId in
(
select cons.myId from Consens cons where cons.number in
(
select ord.number from Orders ord where ord.customer = :customer
and…
So I need to do a game of blackjack simulator, butt can't seem to figure out whats wrong with the shuffle it's suppose to take a card randomly from the pack the put it on top of the pack. The delete it from the rest. so :
(ace)(2)(3)(4)(5)...(k)
if random card is let say 5…
Hi everyone,
We are currently planning the database structure of a quite complex e-commerce web app that has flexibility as it's main cornerstone.
Our app features a large amount of data (products) and we have run into a slight headache trying to keep performance high…
In Scala, does calling isEmtpy method on an instance of Stream class cause the stream to be evaluated completely? My code is like this:
import Stream.cons
private val odds: Stream[Int] = cons(3, odds.map(_ + 2))
private val primes: Stream[Int] = cons(2, odds filter…
What would be a simple design pattern for sharing a COM port over TCP to multiple clients?
For example, a local GPS device that could transmit co-ordinates to remote hosts in realtime.
So I need a program that would open the serial port and accept multiple TCP…
I have just completed an evaluation of Java, Groovy and Scala.
The factors I considered were: readability, precision
The factors I would like to know: performance, ease of integration
I needed a BigDecimal level of precision.
Here are my results:
Java
void…