Haven't made much progress on the external scriptiing languages support yet as I've had a lot of work to complete in my everyday development work. Hope to return to it in the next couple of weeks.
[ add comment ] ( 2 views ) | permalink |




( 3 / 856 )There are many things that can be done for version 1.0.8, from UDP sockets to native vector graphics support - since you have access to the underlying native OS, anything is possible. However, since I haven't received any special requests, JNEXT 1.0.8 will target broadening the framework infrastructure. This includes: adding a namespace policy for extensions, adding a bridge plugin to support creating extensions in other languages (This will enable creating JavaScript native extensions in Python, Perl, Lua, Ruby or whatever other language makes you feel warm and fuzzy...). Again, flexibility and simplicity of use will be the main theme as I am a fanatic believer in putting ockhams razor to good use wherever and whenever possible.
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 / 915 )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 )
Calendar



