Openmocha javascript server-side 0.9


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Openmocha javascript server-side 0.9
# 1  
Old 03-05-2008
Openmocha javascript server-side 0.9

Tue, 04 Mar 2008 00:00:00 PST

ImageAbout Openmocha javascript server-side
An open source Javascript website application server and development framework. Quick soft-coding and clean hard-coding in Javascript on the client-side AND the server-side.

The goal of Openmocha is to maximize the fun and productivity of Javascript development by blending the gap between browser and server based scripting.

With Openmocha, a new project can be quickly soft-coded by creating custom Mocha Objects using the web browser. As the project matures, these Mocha Objects can be re-factored and hard-coded in separate code files. The two approaches can be mixed at any time, patching hard-coded applications through soft-coding even during runtime.

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

printing 3 files side by side based on similar values in rows

Hi I'm trying to compare 3 or more files based on similar values and outputting them into 3 columns. For example: file1 ABC DEF GHI file2 DEF DER file3 ABC DER The output should come out like this file1 file2 file3 ABC ABC (4 Replies)
Discussion started by: zerofire123
4 Replies

2. Shell Programming and Scripting

Paste two file side by side together based on specific pattern match problem

Input file_1: P78811 P40108 O17861 Q6NTW1 P40986 Q6PBK1 P38264 Q6PBK1 Q9CZ49 Q1GZI0 Input file_2: (6 Replies)
Discussion started by: patrick87
6 Replies

3. Web Development

Cannot access Apache web server from Wan side, only Lan side.

I have installed WAMPSERVER 2.0 on my windows vista x64 system but still am having issues with getting the webserver to be seen outside my local network. It is working fine within my local network. Been through several setup tutorials so far, no dice still. For testing purposes I have... (1 Reply)
Discussion started by: davidmanvell
1 Replies

4. Shell Programming and Scripting

How to Merge / combine / join / paste 2 text files side-by-side

I have 2 text files, both have one simple, single column. The 2 files might be the same length, or might not, and if not, it's unknown which one would be longer. For this example, file1 is longer: ---file1 Joe Bob Mary Sally Fred Elmer David ---file2 Tomato House Car... (3 Replies)
Discussion started by: cajunfries
3 Replies

5. Shell Programming and Scripting

Script to place selected columns from a group of files side by side in a new file

Hi Everyone, I need a shell/perl script to bring selected columns from all the files located in a directory and place them in a new file side by side. File1: a b c d 2 3 4 5 f g h i .......... File2: I II III IV w x y z .............. and so on many files are there...... (8 Replies)
Discussion started by: ks_reddy
8 Replies

6. Shell Programming and Scripting

Server side scripting

I have my webpage hosted on one unix server, and using the command <!--#exec cmd="./nUsers.sh"--> it calls the appropriate script to tell me how many people are on the unix server at that time. I need to be able to find out how many users are on another unix server without logging in but using the... (1 Reply)
Discussion started by: paladyn_2002
1 Replies
Login or Register to Ask a Question
OpenGuides::JSON(3pm)					User Contributed Perl Documentation				     OpenGuides::JSON(3pm)

       emit_json
	   Renders the given node as JSON

       output_as_json
	   Renders the given arbitary data as JSON

NAME
OpenGuides::JSON - An OpenGuides plugin to output JSON. DESCRIPTION
Does all the JSON stuff for OpenGuides. Distributed and installed as part of the OpenGuides project, not intended for independent installation. This documentation is probably only useful to OpenGuides developers. SYNOPSIS
use Wiki::Toolkit; use OpenGuides::Config; use OpenGuides::JSON; my $wiki = Wiki::Toolkit->new( ... ); my $config = OpenGuides::Config->new( file => "wiki.conf" ); my $json_writer = OpenGuides::JSON->new( wiki => $wiki, config => $config ); # JSON version of a node. print "Content-Type: application/javascript "; print $json_writer->emit_json( node => "Masala Zone, N1 0NU" ); # Ten most recent changes. print "Content-Type: application/javascript "; print "Last-Modified: " . $self->json_timestamp( items => 10 ) . " "; print $json_writer->make_recentchanges_json( items => 10 ); METHODS
new my $json_writer = OpenGuides::JSON->new( wiki => $wiki, config => $config ); "wiki" must be a Wiki::Toolkit object and "config" must be an OpenGuides::Config object. Both arguments mandatory. emit_json $wiki->write_node( "Masala Zone, N1 0NU", "Quick and tasty Indian food", $checksum, { comment => "New page", username => "Kake", locale => "Islington" } ); print "Content-Type: application/javascript "; print $json_writer->emit_json( node => "Masala Zone, N1 0NU" ); Note: Some of the fields emitted by the JSON generator are taken from the node metadata. The form of this metadata is not mandated by Wiki::Toolkit. Your wiki application should make sure to store some or all of the following metadata when calling "write_node": postcode - The postcode or zip code of the place discussed by the node. Defaults to the empty string. city - The name of the city that the node is in. If not supplied, then the value of "default_city" in the config object supplied to "new", if available, otherwise the empty string. country - The name of the country that the node is in. If not supplied, then the value of "default_country" in the config object supplied to "new" will be used, if available, otherwise the empty string. username - An identifier for the person who made the latest edit to the node. This person will be listed as a contributor (Dublin Core). Defaults to empty string. locale - The value of this can be a scalar or an arrayref, since some places have a plausible claim to being in more than one locale. Each of these is put in as a "Neighbourhood" attribute. phone - Only one number supported at the moment. No validation. website - No validation. opening_hours_text - A freeform text field. json_maker Returns a raw Wiki::Toolkit::Plugin::JSON object created with the values you invoked this module with. make_recentchanges_json # Ten most recent changes. print "Content-Type: application/javascript "; print "Last-Modified: " . $json_writer->json_timestamp( items => 10 ) . " "; print $json_writer->make_recentchanges_json( items => 10 ); # All the changes made by bob in the past week, ignoring minor edits. my %args = ( days => 7, ignore_minor_edits => 1, filter_on_metadata => { username => "bob" }, ); print "Content-Type: application/javascript "; print "Last-Modified: " . $json_writer->json_timestamp( %args ) . " "; print $json_writer->make_recentchanges_json( %args ); json_timestamp print "Last-Modified: " . $json_writer->json_timestamp( %args ) . " "; Returns the timestamp of the RSS feed in POSIX::strftime style ("Tue, 29 Feb 2000 12:34:56 GMT"), which is equivalent to the timestamp of the most recent item in the feed. Takes the same arguments as make_recentchanges_json(). You will most likely need this to print a Last-Modified HTTP header so user-agents can determine whether they need to reload the feed or not. SEE ALSO
o Wiki::Toolkit o <http://openguides.org/> o <http://chefmoz.org/> AUTHOR
The OpenGuides Project (openguides-dev@openguides.org) COPYRIGHT
Copyright (C) 2003-2009 The OpenGuides Project. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. CREDITS
Code in this module is mostly pirated from OpenGuides::RDF, those authors deserve all the credit. Chris Prather did the pirating. perl v5.14.2 2013-01-11 OpenGuides::JSON(3pm)