반응형
반응형
반응형

현재 날씨 가져오는 API


제주시(jeju) : http://openweathermap.org/city/1846266


서귀포(seogwipo) : http://openweathermap.org/city/1846265


제주 곽지리(Gaigeturi) : http://openweathermap.org/city/1847050




 

사이트 가입 후 API key를 받아서  API  사용.



...

반응형
반응형

Stairtower: Database server for JSON documents

 

 

Stairtower is a database server for schema-free, JSON documents. It’s built on React, uses a restful API, and is entirely written in PHP.

stairtower

 

Stairtower is a (experimental) database server for schema-free, JSON documents, that provides a restful API and is entirely written in PHP.

 

The software is in alpha state an early alpha state and not ready for production. The biggest parts of the API are defined and major parts are covered by unit tests. Nevertheless there is much to improve.

For more information see stairtower.cundd.net

 

Installation

  1. Get the source code

git clone https://github.com/cundd/pos.git stairtower
cd stairtower
  1. Install requirements

Get Composer:

curl -sS https://getcomposer.org/installer | php

Install the libraries:

php composer.phar update

 

 

 

 

 

반응형
반응형

asp - JSON  : http://www.aspjson.com/

 

ASPJSON is a free to use project for generating and reading JSON data into a classic ASP object.

The class can be used for reading a string of JSON data as well as writing JSON output from an AJAX file.
Below are 2 simple examples of both.

 

<!--#include virtual="/aspJSON1.17.asp" -->
<%
Set oJSON = New aspJSON

'Load JSON string
oJSON.loadJSON(jsonstring)

'Get single value
Response.Write oJSON.data("firstName") & "<br>"

'Loop through collection
For Each phonenr In oJSON.data("phoneNumber")
    Set this = oJSON.data("phoneNumber").item(phonenr)
    Response.Write _
    this.item("type") & ": " & _
    this.item("number") & "<br>"
Next

'Update/Add value
oJSON.data("firstName") = "James"

'Return json string
Response.Write oJSON.JSONoutput()
%>

 

 

[INPUT]
{ "firstName": "John", "lastName" : "Smith", "age" : 25, "address" : { "streetAddress": "21 2nd Street", "city" : "New York", "state" : "NY", "postalCode" : "10021" }, "phoneNumber": [ { "type" : "home", "number": "212 555-1234" }, { "type" : "fax", "number": "646 555-4567" } ] }

 

 

 

 

 

반응형
반응형

Peroxide: Simple, configurable proxy server

Peroxide is a simple, configurable proxy server that makes it easy to manage whether files are served locally or from production servers in your production environment. It’s easy to configure, with a JSON configuration file.

peroxide

반응형
반응형

Ql.io — A data-retrieval and aggregation gateway

ql.io

 

반응형
반응형

PHP: How to easily provide JSON and JSONP

http://www.geekality.net/2010/06/27/php-how-to-easily-provide-json-and-jsonp/


Would you like to grab some server-side data through an AJAX call? For example by using the handy jQuery.ajax method?

A good data format to use then is JavaScript Object Notation, more commonly known as JSON. Providing data in the JSON format with PHP is super duper simple







반응형
반응형
크롬으로 jSon 데이터 볼때 사용하자.
https://chrome.google.com/webstore/detail/ahdjpgllmllekelefacdedbjnjaplfjn?hl=ko
반응형

'프로그래밍 > Web' 카테고리의 다른 글

REST , RESTful  (0) 2011.12.09
[크롬] 모바일 사이즈로 확인해보기  (0) 2011.12.07
[WEB] Sencha Touch Touch Charts Mobile HTML5 Charts  (0) 2011.08.30
[HTML5] HTML5 API의 기능  (0) 2011.08.21
[HTML5] Web Worker  (0) 2011.08.21

+ Recent posts