Recently My Project Manger has asked me to work on InterSystems Cache ObjectScript. Earlier i used to work as Java Developer (J2EE). So my question is how different is Cache from java. Comparison would be great to have.
InterSystems Cache ObjectScript vs Java as in Web application development
1.3k Views Asked by Sudarshan At
1
There are 1 best solutions below
Related Questions in INTERSYSTEMS-CACHE
- How can I reliably convert YYYYMMDDhhmmss<offset> to a date/time?
- Intersystems Caché Java Gateway
- Build a RESTful POST API in ObjectScript
- SQL query if select criteria is null output to be text
- Querying Intersystem Caché through ODBC
- Linux getting rid of Carriage Return when file is being written out by intersystems cache
- Export from Intersystems Caché database
- Linked server to Intersystems Cache database from MS SQL Server 2005 Browse Catalog
- Nested loops for large datasets
- How to check a column exists in a table in Intersystems Cache SQL?
- Return just the results from %SYS.ProcessQuery using $SYSTEM.SQL.Shell() in Intersystems Caché on a Unix server
- How to query Intersystems Caché to obtain database and license properties?
- What is the fastest way (at run time) to have an Intersystems Cache database stored procedure return nothing but a BLOB?
- Spark SQL fails with "SQLCODE: <-25>:<Input encountered after end of query>" on intersystems cache DB JDBC read
- Managing %SYS.PTools.SQLStats data
Related Questions in INTERSYSTEMS
- Intersystems Caché Java Gateway
- Linux getting rid of Carriage Return when file is being written out by intersystems cache
- Sending An HTTP Request using Intersystems Cache
- Linked server to Intersystems Cache database from MS SQL Server 2005 Browse Catalog
- How to check a column exists in a table in Intersystems Cache SQL?
- Can SQL queries across namespaces be made?
- Spark SQL fails with "SQLCODE: <-25>:<Input encountered after end of query>" on intersystems cache DB JDBC read
- Intersystems Cache ODBC & PHP Character Encoding
- How can we stop journalling on InterSystems IRIS instance?
- LogiXML Studio - Logi Report force page break
- facing the error “command 'vscode-objectscript.explorer.refresh' not found” in Visual Studio Code (Version 1.49.0) with IRIS 2020.1.0.215.0
- Syntax to access Intersystems cache 2017.xx class properties with Python
- How do I check a question has been answered in TrakCare?
- Converting Intersystems cache objectscript into a python function
- In Caché ObjectScript, what is the `Aliases' property keyword
Related Questions in INTERSYSTEMS-CACHE-STUDIO
- Linux getting rid of Carriage Return when file is being written out by intersystems cache
- Intersystems cache: <Framestack> and <Command> error in Classes : How to solve AND avoid?
- Update value of other column on update of this column
- InterSystems Cache ObjectScript vs Java as in Web application development
- How can I filter records returned by a stored procedure call?
- Display %ROWCOUNT value in a select statement
- Subversion commands work at the OS shell command-line but not within the IDE
- Difference between two date time stamp in Intersystems Cache
- zen report-dividing two summation values
- Character Counting within a loop
- Updating a form generated by a wizard based on a class
- Connecting to cache instance (csession) remotely
Related Questions in INTERSYSTEMS-CACHE-ZEN
Related Questions in INTERSYSTEMS-HEALTHSHARE
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Caché ObjectScript is very different from Java and has very little in common. It is more like dynamically typed compiled scripting language with meta language built in (class definitions) and with a large number of features you need to know to write the good code. All the code is compiled to a low-level (but pretty readable) so-called routine code and is processed by DBMS Caché and its application engine.
Take for example this reference. As you may notice, there are many weird symbols and structures like
$,$$,$$$,##class,&sql(...),&javascript<...>,#dim,$System,.#,$get,$zu(...),%,^%,{ ... }, ... (this list is big). Some of the language features are very unpredictable from the first glance. For example, function$get(...)looks like a fundtion but silently acts like a try/catch statement, as well as$dataand some other system functions.So prepare to work with InterSystems documentation! Also, recently developed InterSystems community is a great resource. And while Googling, you may find quite a few answers out of the internet, but just keep in mind to search with “intersystems” or “objectscript” keywords. But many things you won’t find there, and in this case you should use InterSystems docs or community to ask the questions. Once you will get used to the language (which for me took over 6 months), you will feel more confident in it.
Also it is worth mention that Caché ObjectScript is literally “dinosaur” language, which involves and upgrades over time. That’s why there are so many different features. Some of them you shouldn’t use anymore: for example, instead of writing code in routine, like people did before OOP concepths were introduced, you should use classes. ObjectScript’s JSON capabilities (ability to write JSON inside ObjectScript) was intoduced just approximately 1 year ago. And you may find a plenty of “prehistoric” code in Caché and should take it normally: it is a really huge ecosystem.
Hope this helps, happy hacking!