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 answers
Related Questions in INTERSYSTEMS-CACHE
- Spark SQL fails with "SQLCODE: <-25>:<Input encountered after end of query>" on intersystems cache DB JDBC read
- REceiving SQL erro 37000 after attempting to run Script creating Trigger
- How can I convert Intersystems Cache Global Objects to SQL or a more readable format?
- SQL Excluding data based on certain criteria for a date range
- Setting Up the Entity Framework Provider for Intersystems Cache 2018
- Intersystems Cache not generating data with Populate
- Pyodbc on intersystems Caché int overflow
- Nesting a CAST() Function
- Get 3 most recent months (T, T-1, and T-2) in InterSys Cache DB
- SQL Query returns a negative number but does not interpret it as a negative number but a positive number
- odbc_result(): Field index is larger than the number of fields?
- Connecting Caché database in Azure function
- Why are my Greek characters being inserted in the database as question marks(?) when using parameterized queries?
- How to concatenate and format date and time to timestamp/datetime in Intersystems Caché database
- How to export class to xml without namespace?
Related Questions in INTERSYSTEMS
- Spark SQL fails with "SQLCODE: <-25>:<Input encountered after end of query>" on intersystems cache DB JDBC read
- How can I convert Intersystems Cache Global Objects to SQL or a more readable format?
- Converting Intersystems cache objectscript into a python function
- How do I check a question has been answered in TrakCare?
- Syntax to access Intersystems cache 2017.xx class properties with Python
- InterSystems ODBC error crashes Powershell
- Connecting Caché database in Azure function
- Working with different timezones with Intersystems
- Set network interface on client host to be used for Cache connections
- How can we stop journalling on InterSystems IRIS instance?
- Can SQL queries across namespaces be made?
- 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
- Intersystems IRIS Data Platform cant change default password
- Querying data from multiple odbc connections simultaneously?
- Does Flyway support InterSystems Cache Database migration?
Related Questions in INTERSYSTEMS-CACHE-STUDIO
- zen report-dividing two summation values
- Update value of other column on update of this column
- How can I filter records returned by a stored procedure call?
- InterSystems Cache ObjectScript vs Java as in Web application development
- 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?
- Connecting to cache instance (csession) remotely
- Subversion commands work at the OS shell command-line but not within the IDE
- Display %ROWCOUNT value in a select statement
- Difference between two date time stamp in Intersystems Cache
- Character Counting within a loop
- Updating a form generated by a wizard based on a class
Related Questions in INTERSYSTEMS-CACHE-ZEN
Related Questions in INTERSYSTEMS-HEALTHSHARE
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?
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)
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!