Code Monkey home page Code Monkey logo

akuntansi's Introduction

Code Climate

About

Implementasi komputerisasi akuntansi berbasis web application, panduan berdasarkan UNIKA.

What you need

Technology Description
Materialize CSS front end web framework [Material Design]
Jquery AJAX use to perform some task and url
PHP 7 MySQLi im using this PHP version, and use MySQLi not PDO

Basic URL Routing

$router->register([
  "" => "controller/index.php",
  "about" => "controller/about.php",
  "report" => "controller/report.php",
  "404" => "controller/404.php",
  "posting" => "controller/posting.php"
])

URL Routing contoh kasus nya seperti biasanya kita mengakses sebuah URL http://localhost/about.php, dengan URL route dapat dihasilkan menjadi http://localhost/about. Jika mengakses url yang tidak ada dalam daftar routing maka akan muncul halaman 404.
Contoh diatas saya ambil dari tutorial PHP Practitioner milik Laracast.

QueryBuilder

Pada dasarnya ketika kita membuat SQL query kita menuliskan dengan mentah biasa seperti ini

SELECT jurnalunum.nobukti FROM jurnalumum WHERE jurnalumum.del = '0'

Dengan QueryBuilder kita dapat membuat syntax tersebut lebih elegan.
Create new object

$qb = new QueryBuilder();
$qb->select(
  'jurnalumum.nobukti',
  'jurnalumum.tgltransaksi',
  'jurnalumum.nojurnal',
  'kodeunit.nama',
  'jurnalumum.jenis'
  )
  ->from('jurnalumum')
  ->join('kodeunit on kodeunit.unit = jurnalumum.unit')
  ->where("jurnalumum.del = '0'")
  ->whereAnd("jurnalumum.posting ='0'");

contoh sederhana tersebut menghasilkan STRING sqlquery biasa, memang tidak ada bedanya dengan mentahan, ini bisa dikembangkan lagi untuk perform lebih kompleks.
Class ini saya ambil dari Stackoverflow dengan menambahkan beberapa perform.

Todo

  • Input ke jurnaldetil
  • Input ke jurnalumum
  • Input debet sudah dalam format currency, menggunakan accounting.js
  • More Object Oriented
  • Security prevent from SQL Injection
    • 5% using prepared statement
  • posting
    • Menampilkan posting
    • Posting ke jurnalumum
  • report

Issue

Jika menemukan sebuah BUG atau kesalahan bisa membuat issue baru.
Create New Issue

Contributing

Jika anda berminat mengembangkan ini, anda bebas untuk berkontribusi.
Aturan standard agar orang lain dapat membaca dengan mudah yaitu menggunakan aturan PSR-1, PSR-0.
Buatlah alur kode yang elegan, dan tidak hardcode.
BEBAS UNTUK PULL REQUEST

Dont Repeat Yourself [DRY]

Jurnal

gambar

Posting

postingImage

LICENSE

MIT License

akuntansi's People

Contributors

lintangtimur 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.