No rigid structure is enforced on WebDNA developers, freeing them to develop in ways that match their way of thinking
numero = 56[delete db=mydb.db&lsIDdata=5]which is translated as "delete" from the "database named mydb.db" any record whose field named "ID" contains "data" with a value "less than" "5"Here the equivalent php code:
<? php$con = mysql_connect("localhost","mysql_user","mysql_pwd");if (!$con) { die("Could not connect: " . mysql_error()); }mysql_select_db("mydb");mysql_query("DELETE FROM mytable WHERE id < 5");$rc = mysql_affected_rows();echo "Records deleted: " . $rc;mysql_close($con);?>The PHP code mixes two syntaxes (php and MySQL) with Object Oriented Programming. This explains why a designer with a quick look at WebDNA can start building his own application in no time, and soon can work as fast or faster than a PHP programmer.Here another PHP vs. WebDNA example. WebDNA's natural, logical language and database query strings are integrated right into the html code. There is no framework that locks the developer into a specific of approach to a problem. This allows people to code in a way that makes sense to them. It is a door wide open to creativity and a new approach to "organic programming", a way of building complex systems out of simple units.
[delete db=mydb.db&lsIDdata=5]
<? php
$con = mysql_connect("localhost","mysql_user","mysql_pwd");
if (!$con)
{
die("Could not connect: " . mysql_error());
}
mysql_select_db("mydb");
mysql_query("DELETE FROM mytable WHERE id < 5");
$rc = mysql_affected_rows();
echo "Records deleted: " . $rc;
mysql_close($con);
?>
DOWNLOAD WEBDNA NOW!
WebDNA is an easy-to-learn server-side scripting language specifically designed for creating feature rich...
Fun with WebDNA VideosThese videos are created by Dan Strong...
WSC ProductsWelcome to WebDNA 8...
What is WebDNA?WebDNA is a scripting language application that connects with web servers for the purpose of adding dynamic and database-driven qualities to web sites...
WebDNA Tags and ContextsA WebDNA tag exists on its own just like an HTML tag...
Looking for data in a WebDNA database and displaying it on the page is faster than using static html pages with apache...
Sequential programming with no rigid frameworkNo rigid structure is enforced on WebDNA developers...