By the way, if there are any OS/X developers out there who are reading this, please consider porting JNEXT to OS/X. This will save me buying a system and expidite the release date for JNEXT for the Mac.
[ 3 comments ] ( 51 views ) | permalink |




( 3 / 916 )Turns out that handling NULL values was just one issue. JNEXT 1.0.7 addresses several other issues that were discovered with version 1.0.6 such as better Unicode handling and handling unprintable control characters in the database. Cost me a few hours of sleep though...
[ add comment ] ( 5 views ) | permalink |




( 3 / 823 )The main addition to version 1.0.6 is support for SQLite3. I've changed the design a bit so the code in my previous entry is not accurate (if you want to see an accurate example, just check the home page or better yet - download the framework and try it.
I'm in a dilemma regarding which plugins to add next. Adding additional database plugins such as MySQL, PostgreSQL, Firebird etc. is trivial (just need to change less than 10 lines of code since the database plugin is built on the excellent SOCI database abstraction library).
I also want to extend the sockets plugin to include access to many additional OS features, and also to create a language bridge plugin that will enable writing JNEXT plugins in any language (including scripting languages).
However - all this will have to wait as I've just discovered a problem when handling NULL values in SQLite3 databases, so I'll first fix that and then get back to the dilemma...
[ add comment ] ( 5 views ) | permalink |




( 2.9 / 772 )I've completed testing the new JNEXT extension which will support accessing all major databases (MySQL, SQLite3, PostgreSQL, Oracle and others) locally from JavaScript within a Web browser.
Still need to get the packaging complete but I hope to release a new version of JNEXT some day next week. Meanwhile here's a sneak preview of what you can do:
<script language="JavaScript">
myDB.query( "select * from ex" );
var row;
while ( (row = myDB.getRow()) != null )
{
strHTML += "<tr>";
for (var i=0; i<row.length; i++)
{
strHTML += "<td>" + row[ i ] + "</td>";
}
strHTML += "</tr>";
}
</script>
[ 2 comments ] ( 32 views ) | permalink |




( 3 / 753 )I thought of implementing Mac OS/X support first but getting my hands on a Mac OS/X system has been delayed... if there are any OS/X developers out there that want to take on the task - please contact me.
Anyway, the next step is creating an extension for database support, which will include all major databases. After that, support for additional socket types.
Good things are coming your way :-)
[ add comment ] ( 5 views ) | permalink |




( 3 / 934 )
Calendar



