Author Archives: rile

MIT APP Inventor

MIT App Inventor ini gak jauh beda sama Scratch, punya MIT juga. Intinya cara koding yang lebih dimudahkan lagi dengan methode drag and drop. Bedanya kalo MIT APP Inventor ini untuk bikin aplikasi mobile – Android.

Intinya, kedua builder/generator di atas, di peruntukan buat anak anak yang belajar koding. 😀

Advertisements

Architecture Apache Camel

 

source : http://camel.apache.org/architecture.html

Architecture Apache ActiveMQ

source : http://activemq.apache.org/code-overview.html

FetchType LAZY and EIGER

Java Persistence API and Hibernate

LAZY = fetch when needed
EAGER = fetch immediately

Sometimes you have two entities and there’s a relationship between them. For example, you might have an entity called University and another entity called Student.

The University entity might have some basic properties such as id, name, address, etc. as well as a property called students:

public class University {
 private String id;
 private String name;
 private String address;
 private List<Student> students;

 // setters and getters
}

Now when you load a University from the database, JPA loads its id, name, and address fields for you. But you have two options for students: to load it together with the rest of the fields (i.e. eagerly) or to load it on-demand (i.e. lazily) when you call the university’s getStudents() method.

When a university has many students it is not efficient to load all of its students with it when they are not needed. So in suchlike cases, you can declare that you want students to be loaded when they are actually needed. This is called lazy loading.

 

source : https://stackoverflow.com/questions/2990799/difference-between-fetchtype-lazy-and-eager-in-java-persistence-api

Desain Mockup dan Flowchart

Note :

  1. Drawio
  2. Pencil

<draft>

Rumus Asuransi JNE

Rumus asuransi JNE:
[0.2% x nilai barang] + Rp5.000

PVC Projects for Kids

Berikut ini adalah link link yang menurut saya sangat berguna untuk memulai project kreatif menggunakan PVC

https://formufit.com/pages/pvc-kids-playhouse-small

tools untuk design pvc projects

https://formufit.com/pages/sketchup

catatan laravel

cara install laravel

How To Install Laravel 5 Framework on Ubuntu 15.10, 14.04, 12.04 & LinuxMint

https://www.howtoforge.com/tutorial/install-laravel-on-ubuntu-for-apache/

laravel generator, buat bikin panel admin dan api secara cepat dan lengkap (lagi coba)

http://labs.infyom.com/laravelgenerator/

agar laravel development bisa di akses dalam satu local network

http://stackoverflow.com/questions/30675025/access-to-laravel-5-app-locally-from-an-external-device

 

 

 

catatan android dev

https://codelabs.developers.google.com

https://github.com/firebase/quickstart-android

https://github.com/googlesamples/google-services/tree/master/android

https://www.simplifiedcoding.net

Versi – versi Android

Postingan ini sebagai catatan saya sebagai android developer, yang seringkali menjumpai kendala saat menggunakan library dari android SDK yang mensyaratkan versi tertentu (akan saya update sesuai perkembangan versi android)

Code name Version number Initial release date API level
1.0 September 23, 2008 1
1.1 February 9, 2009 2
Cupcake 1.5 April 27, 2009 3
Donut 1.6 September 15, 2009 4
Eclair 2.0–2.1 October 26, 2009 5–7
Froyo 2.2–2.2.3 May 20, 2010 8
Gingerbread 2.3–2.3.7 December 6, 2010 9–10
Honeycomb[a] 3.0–3.2.6 February 22, 2011 11–13
Ice Cream Sandwich 4.0–4.0.4 October 18, 2011 14–15
Jelly Bean 4.1–4.3.1 July 9, 2012 16–18
KitKat 4.4–4.4.4, 4.4W–4.4W.2 October 31, 2013 19–20
Lollipop 5.0–5.1.1 November 12, 2014 21–22
Marshmallow 6.0–6.0.1 October 5, 2015 23
N Developer Preview 3

https://en.wikipedia.org/wiki/Android_version_history