Giter Site home page Giter Site logo

web-useful-resources's Introduction

Web Useful Resources

web programming useful resources link
berikut adalah link yang penting :

CSS / Font Graphics

Web Icon-Fonts Graphics :

  1. Glyphicons Icons
  2. Font-Awesome Icons

Javascript / Client Side

Javascript Modules :

  1. Multiple Select

Info ajax

  	$.ajax(
        	url 		: 'functions_link.php',
		type 		: 'POST',
		data 		: JSON.stringify(getDataFunctions()),
		success		: function(response) {resultData(response)},
		error		: function(e) {onError(e);},
		dataType 	: 'json',
		contentType 	: 'application/json'
	});

Info ajax File Upload

  	$.ajaxFileUpload({
		url 			: 'functions_link.php',
		type 			: 'POST',
		secureuri      		: false,
		fileElementId		: 'temporary_image',
		data			: JSON.stringify(data),
		success			: function(response) {resultUpload(response);},
		error			: function(e) {onError(e);},
		dataType 		: 'json'
	});

PHP Framework

PHP Framework :

  1. Code-Igniter 3

Web Programming Tutorials & Discussion

  1. w3schools
  2. Tutorials Point
  3. Code Academy
  4. Stack Overflow (Q&A)

JavaEE / PHP / Other Web Services

  1. Building RESTful Web Services with JAX-RS
  2. Oracle Introduction to Web Services - Java EE 6
  3. Web Services Tutorial

Simple Java RESTful WebService Function Example

    @GET
    @Path("Barcode/{Barcodes}")
    @Produces("text/plain")
    public String getValues(@PathParam("Barcodes") String BarCD) {

        String Bar_code = "";
        String ValueHarga = "";
        String NamaBar = "";
        String Stat = "";
        String Parameters = BarCD;

        Statement stmt = null;
        ResultSet rs;
        String _DB_URL = "jdbc:mysql://localhost:3306/<db_name>";
        String _DB_USERNAME = "<db_username>";
        String _DB_PASSWORD = "<db_password>";

        try {
            Class.forName("com.mysql.jdbc.Driver");
            conn = (Connection) DriverManager.getConnection(_DB_URL, _DB_USERNAME, _DB_PASSWORD);
            stmt = conn.createStatement();
            String query = "SELECT tb_data2.barcode, tb_data2.valuesHarga, tb_data2.namaBarang, tb_data2.STATUS FROM tb_data2 WHERE barcode = '" + Parameters + "';";
            rs = stmt.executeQuery(query);
            while (rs.next()) {
                Bar_code = rs.getString("barcode");
                ValueHarga = rs.getString("valuesHarga");
                NamaBar = rs.getString("namaBarang");
                Stat = rs.getString("STATUS");
            }

        } catch (Exception e) {
            e.printStackTrace();
        }
        return "RESTful WebService Response :\n - Bar-Code : " + Bar_code + "\n - Nama Barang : " + NamaBar + "\n - Harga Barang : " + ValueHarga + "\n - Data Status : " + Stat;
    }

Community

PHP Indonesia :
PHP Indonesia Official Link : Official
PHP Indonesia Facebook Link : Facebook

web-useful-resources's People

Contributors

longchrist avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.