Custom Search

News World

Jun 1, 2009

File Extension JSON better then the other script source code that use for big data size

JSON Abbreviation from JavaScript Object Notation. File Extension JSON is interchange data format as basically notation in JavaScript. In a few narration said that File Extension JSON better then XML as interchange data format.

Is that true? I tray to make a simple test make sure that issues in ASP.Net Web Service.

How to Run JSON files?

With Windows, Mac OS and Linux Operating System

  • Run with a JSON parser

How to Edit JSON files script?

  • Edit with a text editor (Use the editor file that related in Operating System. )


I’ve use two parameter those are stream transmitted and response time.

I use the Employee object with EmpId data, Name, Sex and Title the first. This object will serialize to JSON and XML as WebService Value return.

namespace JSONSample
{
public class Employee
{
public string EmpId { get; set; }
public string Name { get; set; }
public string Title { get; set; }
public char Sex { get; set; }
}
}

And then I make the web service with two method that get Employee in format JSON and XML.

sing System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;
using System.Web.Script.Services;

namespace JSONSample
{
///


/// Summary description for WebService1
///

[WebService(Namespace = "">http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
[ScriptService]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class WebService1 : System.Web.Services.WebService
{

[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Xml)]
public Employee GetEmployee(string EmpId)
{
var emp = new Employee();
emp.EmpId = EmpId;
emp.Name = "Ahmad Masykur";
emp.Sex = 'M';
emp.Title = "Analyst, Application Architecture";
return emp;
}
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public Employee GetEmployeeJSON(string EmpId)
{
var emp = new Employee();
emp.EmpId = EmpId;
emp.Name = "Ahmad Masykur";
emp.Sex = 'M';
emp.Title = "Analyst, Application Architecture";
return emp;
}
}
}

And then, create JavaScript code to execute both of method in WebService that created before.

var displayElement1;
var displayElement2;

// Initializes global variables and session state.
function pageLoad()
{
displayElement1 = $get("ResultId1");
displayElement2 = $get("ResultId2");
}
function getEmployee() {
JSONSample.WebService1.GetEmployee("894683", OnSucceeded, OnFailed);
JSONSample.WebService1.GetEmployeeJSON("894683", OnSucceeded, OnFailed);
}

// Callback function invoked on successful
// completion of the page method.
function OnSucceeded(result, userContext, methodName)
{
if (methodName=="GetEmployee") { // xml
displayElement1.innerHTML = result.documentElement.selectSingleNode('//Name').text;
}
else { // json
displayElement2.innerHTML = result.Name;
}
}

// Callback function invoked on failure
// of the page method.
function OnFailed(error, userContext, methodName)
{
if(error !== null)
{
displayElement.innerHTML = "An error occurred: " +
error.get_message();
}
}

if (typeof(Sys) !== "undefined") Sys.Application.notifyScriptLoaded();

And then ASP.NET AJAX that will registray JavaScript and WebService then WebService can execute with JavaScript by ASP.NET AJAX Proxy Service.




May 15, 2009

ASUS - Graphics Card with Voltage Tweak Technology Launches EAH4770 Series

AMD is making a new addition to its midrange graphics card lineup today with the introduction of the Radeon HD 4770 videocard, based on the companies first 40nm GPU, the RV740. The Radeon HD 4770 strikes a balance between performance and price, coming just under the lucrative $100 mark and slotting in nicely in terms of performance between existing Radeon 4670 and 4850 videocards.

ASUS introduced the new ASUS EAH4770 Series that utilizes the Voltage Tweak technology. With this cutting-edge innovation, users will be able to boost GPU voltages via the SmartDoctor application and enjoy up to an 35% performance improvement with the EAH4770 TOP.

Along with the latest GPU technologies that include a 40nm manufacturing process, DirectX 10.1 graphics capabilities, support for HDMI 1.3, CrossFireX, and Stream technology, the ASUS EAH4770 Series is evidence that high performance gaming and affordability can co-exist without compromise.

Equipped with Voltage Tweak technology and the SmartDoctor application, the ASUS EAH4770 TOP/HTDI/512MD5 raises GPU voltages from 0.95V to 1.2V, boosting GPU and memory clock frequencies from 800MHz to 971MHz and 3400MHz to 4600MHz respectively.


The ASUS SmartDoctor is an industry-leading overclocking utility that works in tandem with Voltage Tweak technology to enable users to manually adjust the GPU voltage on the EAH4770 Series. With just a few simple clicks, users will be able to enjoy astounding voltage boosts and performance upgrades - all without the hassle of re-flashing the BIOS at the risk of damaging the cards, or groping blindly for a overclocking button at the back of the chassis.

ATI's new RV740 GPU is derived from the venerable RV770 core, but clocked at 750MHz and equipped GDDR5 memory that runs at an even 800MHz, giving it a memory bandwidth of 51.2 GB/s. The memory bus on the Radeon HD 4770 is 128-bit wide, which should make for an interesting comparison between it and the popular Radeon HD 4850. PCSTATS will break down all the numbers in a moment, but first let's introduce the videocard sitting on the PCSTATS' test bench today, the ASUS EAH4770 HTDI/512MD5/A.

ASUS' EAH4770 videocard is largely based off AMD's reference design, although it does use a simpler two-slot wide aluminum heatsink in place of the standard ATI thermal solution. It's not pretty but it is quiet, that's what matters most. The EAH4770 is PCI Express 2.0 x16 compliant, comes with 512MB of GDDR5 memory and the usual list of supported features; ATI CrossfireX, HDCP, DX10.1, SM4.1, and Unified Video Decoder 2 for HD content decoding.



The EAH4770 Series also incorporates ATI Stream technology, which utilizes the massive parallel processing power of AMD graphics processors to deliver new capabilities that go beyond the traditional usage scenarios of graphics rendering and video processing.

Model EAH4770 TOP/HTDI/512MD5

  • Graphics Engine ATI Radeon HD 4770 graphics
  • Video Memory 512MB GDDR5
  • Engine Clock 800MHz
  • Memory Clock 3.4GHz (850MHz GDDR5)
  • Memory Interface 128 bit
  • DVI Max. Resolution 2560 x 1600
  • Bus Standard PCI Express 2.0
  • DVI Output Dual DVI-I (Dual Link)
  • HDCP compliant YES
  • HDTV Out YES
  • HDMI Output YES, via DVI-to-HDMI adaptor
  • D-Sub Output YES, via DVI-to-Dsub adaptor
  • Software Bundled ASUS Utilities and driver



Model EAH4770/HTDI/512MD5

  • Graphics Engine ATI Radeon HD 4770 graphics
  • Video Memory 512MB GDDR5
  • Engine Clock 750MHz
  • Memory Clock 3.2GHz (800MHz GDDR5)
  • Memory Interface 128 bit
  • DVI Max. Resolution 2560 x 1600
  • Bus Standard PCI Express 2.0
  • DVI Output Dual DVI-I (Dual Link)
  • HDCP compliant YES
  • HDTV Out YES
  • HDMI Output YES, via DVI-to-HDMI adaptor
  • D-Sub Output YES, via DVI-to-Dsub adaptor
  • Software Bundled ASUS Utilities and driver

May 6, 2009

HDD - Thermaltake BlacX N0028USU Hard Drive Dock


A compact docking station, the Thermaltake BlacX (Model N0028USU) maximizes heat dissipation and exhaust for all 2.5 and 3.5-inch SATA hard drives up to 1TB. The BlacX offers hot-swap capability for rapid multi HDD access and exchange. It supports USB transfer speed up to 480Mbps. The RoHS-compliant Thermaltake BlacX is compatible with both Windows and Mac operating systems and is Windows Vista ready. Its patented design allows you to safely detach SATA hard drives without risking damage. Made of durable ABS plastic, the Blac will keep your hard drive cool and efficient for years to come.

However, also consider where you might need to restore the data. USB is the most universal, in that almost all systems have USB ports. If your system dies, and you need to restore your data, this may be your most important consideration.

  • Patented Design: 2.5” & 3.5” USB SATA HDD Docking Station, Supports All 2.5” & 3.5” SATA Hard Drives up to 1TB !!
  • Patented Design: Safely Detach SATA Hard Drives Without Damage !!
  • Easily Connects All 2.5” & 3.5” SATA Hard Drives

Specifications

Interface: SATA to USB 2.0

Transfer Rate: Up to 480 Mbps (Max)

SATA Compatible: SATA I & II

HDD Compatible: - All 2.5" or 3.5" SATA HDD up to 1TB

OS Compatible: - Windows Vista / XP / 2003 / 2000 ; Mac 10.3 and later

RoHS Compliance: Yes

May 5, 2009

CPU - ASUS RS100-X5/PI2


Super Power Saving 1U and Super Quiet Compact Server

RS100-X5/PI2 dedicated for home users, SMB, SOHO, IDC, TELCOM and client system requiring quiet working environment and a super quiet and space-saving uni-processor (UP) server featuring with low power consumption.



Nevertheless, ASUS is still able to offer a compelling business solution through support for Intel’s 65W dual core Xeon 3000 series processors. The onboard 945GC chipset and ICH7 I/O controller are pulled from Intel’s desktop lineup but in this case serve the power-sipping platform well. Two DIMM slots take up to 2GB of DDR2 667 memory, a pair of SATA connectors hook up to internal drive bays, and a pair of Marvel Gigabit Ethernet controllers allow a variety of network confi gurations. There’s even a single PCI Express x16 slot (with a x1 electronic link) for add-in expansion. A thoroughbred the RD100-X5/PI2 is not. However, as an attractive, quiet, entrylevel server that won’t gulp down the power, yet still delivers a reliable experience through an Intel Xeon processor, ASUS’s box is ideal.


Processor / System Bus

1 * Socket 775
Dual-Core Intel® Xeon® 3000 series (65W)*
Dual-Core Intel® Core2Duo (65W)*
Intel® Intel Conroe-L 400 series
Dual-Core
FSB 1066/800/533


Core Logic

Intel® 945GC
Intel® ICH7


Memory

Total Slots: 2 (2-channel)
Capacity: Maximum up to 2GB
Memory Type: DDR2 667/533 Non-ECC Unbuffered DIMM
Memory Size: 512MB, 1GB

On Board I/O

1 * External Serial Port
2 * RJ-45 ports
4 * USB 2.0 ports (Front * 2, Rear * 2)
1 * VGA port
1 * PS/2 keyboard port
1 * PS/2 mouse port

IT Conversations

Moneycontrol Latest News

Latest new pages on Computer Hope

Latest from Infoworld

Door Lock

Door Lock Import Top Door Lock from China Contact Quality Manufacturers Now