Skip to content

arun-gupta/couchbase-netbeans-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetBeans plugin for Couchbase

This repository is the work-in-progress for Netbeans plugin for Couchbase. You can learn:

  1. How to create a NetBeans plugin

  2. Learn Couchbase APIs that will allow you to embed within other tools

  3. Have a ready to use plugin that will allow you to configure Couchbase in NetBeans

Episodes

All the episodes are available in this playlist.

Part 1

  1. GitHub repository for the plugin

  2. Started a new NetBeans plugin – discussed Ant vs Maven approach for starting a plugin

  3. Couchbase node configured in NetBeans

Part 2

  1. Show NetBeans users how to install Couchbase and configure it with a sample bucket

  2. Run a simple Java EE application that queries the documents stored in Couchbase sample bucket

  3. Migrating the NetBeans plugin from Ant to Maven

  4. Show a message in popup help menu

  5. Double clicking on the Couchbase node connects to Couchbase server and displays a message in status window

Part 3

  1. Login to Couchbase server

  2. See Bucket list

  3. See Documents in Bucket

  4. Query data from buckets (basic queries, N1QL queries coming later)

  5. Compare Documents (NetBeans Diff Viewer)

  6. Open Documents (in JSON editor, not savable back to Couchbase)

  7. Multiple Couchbase hosts can be configured

Part 4

  1. Entry point of a NetBeans plugin

  2. Learn about NetBeans platform node hierarchy

  3. Property sheet for each node

  4. Keeping code organized for the plugin

  5. Creating menus for different nodes

Part 5

  1. Showcase features that have been created in the plugin so far

  2. Show different icons for indexed and non-indexed buckets in Couchbase

Part 6

  1. Add a new menu “Create Primary Index” for non-indexed buckets

  2. Started work on refreshing the name and description of a bucket after indexing

  3. Started work on optimizing the number of documents retrieved for a bucket

Part 7

  1. Discussion around modal window vs status bar when creating bucket

  2. Icons for newly created buckets are shown correctly as non-indexed

  3. Change the menu name from "Set Primary Index" to "Create Primary Index"

  4. Discussion around properties panel vs menu items design pattern

  5. "Explore from here" for nodes and buckets

  6. Default error handling (by NetBeans platform) while editing JSON document

  7. Rename buckets (only in NetBeans view, not in database)

  8. Discussion around REST endpoint code generator using a bucket

  9. Displayed a dialog when JSON document is edited/saved