Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
softwares:giocoso:promenu:togglemode [2025/12/10 17:42] hjrsoftwares:giocoso:promenu:togglemode [2025/12/10 17:49] (current) hjr
Line 1: Line 1:
-Switch reports to local/global mode +====== Switch Reports To Local/Global Mode ====== 
-<h2>1.0 Introduction</h2> +===== 1.0 Introduction ===== 
-When you first put Giocoso into Pro mode (by filling in a MySQL remote database's IP address, using the Administration menu, Option 2), all reporting functions immediately switch by default into selecting from the shared, remote Pro database, rather than from the local database found on a specific Giocoso client device's proximate hard disk. For example, here is what a local report of the 'Aggregate Statistics' looks like (i.e., taking the Reports menu, Option 1 in non-Pro mode):+When you first put Giocoso into Pro mode (by filling in a MySQL remote database's IP address, using the **Administration** menu, **Option 2**), all reporting functions immediately switch by default into selecting from the shared, remote Pro database, rather than from the local database found on a specific Giocoso client device's proximate hard disk. For example, here is what a local report of the 'Aggregate Statistics' looks like (i.e., taking the Reports menu, Option 1 in non-Pro mode):
  
-<a href="http://absolutelybaching.com:81/wp-content/uploads/2025/02/Screenshot_20250215_173035.jpg"><img class="aligncenter size-medium wp-image-30309" src="http://absolutelybaching.com:81/wp-content/uploads/2025/02/Screenshot_20250215_173035-650x369.jpg" alt="" width="650" height="369" /></a>+{{ :software:giocoso:screenshot_20250215_173035.jpg?direct&650 |}}
  
-And here's the <em>same</em> menu options taken, and the same report produced, but this time operating in Pro mode:+And here's the //same/menu options taken, and the same report produced, but this time operating in Pro mode:
  
-<a href="http://absolutelybaching.com:81/wp-content/uploads/2025/02/Screenshot_20250215_173123.jpg"><img class="aligncenter size-medium wp-image-30310" src="http://absolutelybaching.com:81/wp-content/uploads/2025/02/Screenshot_20250215_173123-650x369.jpg" alt="" width="650" height="369" /></a>+{{ :software:giocoso:screenshot_20250215_173123.jpg?direct&650 |}}
  
-The two reports <em>look</em> very different, because the Pro version is coming from a remote MySQL database, which insists on putting dashes and plus signs around its output for tabular reporting purposes. If you look closely, however, it's not just the look-and-feel that's different. Notice how the <em>local</em> database thinks 2.4<em><strong>7</strong></em>% of recordings remain as-yet unplayed, but the global database thinks it's only 2.4<em><strong>4</strong></em>% that's unplayed. The difference is, of course, that some recordings were played on devices other than the one producing the local report: in local mode, my main playing PC is unaware of these "other-devices" plays... but in Pro mode, the shared database is fully aware of them.+The two reports //look/very different, because the Pro version is coming from a remote MySQL database, which insists on putting dashes and plus signs around its output for tabular reporting purposes. If you look closely, however, it's not just the look-and-feel that's different. Notice how the //local/database thinks 2.4//**7**//% of recordings remain as-yet unplayed, but the global database thinks it's only 2.4//**4**//% that's unplayed. The difference is, of course, that some recordings were played on devices other than the one producing the local report: in local mode, my main playing PC is unaware of these "other-devices" plays... but in Pro mode, the shared database is fully aware of them.
  
-The point is, therefore, that knowing what a <em>specific</em> device has played is of interest (even in Pro mode), but knowing what <em>all</em> devices have been up to is also of interest -and, thus, that there is a point in being able to report from <strong>either</strong> the local <strong>or</strong> global databases, at will. Switching back and forth between these two modes of reporting is precisely what the <strong>Pro</strong> menu,<strong> Option 9 : Switch reports to xxxx mode</strong> allows you to do. The "xxxx" bit of the option text will vary, in a reverse-toggle sort of way: if you are reporting in local mode, the text will say 'switch reports to global mode'. If you are already in global reporting mode, the text will say 'switch reports to local mode'.+The point is, therefore, that knowing what a //specific/device has played is of interest (even in Pro mode), but knowing what **all** devices have been up to is also of interest -and, thus, that there is a point in being able to report from **either** the local **or** global databases, at will. Switching back and forth between these two modes of reporting is precisely what the **Pro** menu, **Option 9 : Switch reports to xxxx mode** allows you to do. The "xxxx" bit of the option text will vary, in a reverse-toggle sort of way: if you are reporting in local mode, the text will say 'switch reports to global mode'. If you are already in global reporting mode, the text will say 'switch reports to local mode'.
  
-As you can see from the above screenshots, you'll know what reporting mode you're in by looking toward the top of the screen on most reporting screens: the report display will say "GLOBAL..." or "LOCAL..." very clearly. Some do not do this, for quaint technical reasons that needn't detain us: however, the Reporting <strong>menu</strong> itself tells you what reporting mode you're in <em>before</em> you run any particular report:+As you can see from the above screenshots, you'll know what reporting mode you're in by looking toward the top of the screen on most reporting screens: the report display will say "GLOBAL..." or "LOCAL..." very clearly. Some do not do this, for quaint technical reasons that needn't detain us: however, the Reporting **menu** itself tells you what reporting mode you're in //before/you run any particular report:
  
-<a href="http://absolutelybaching.com:81/wp-content/uploads/2025/02/Screenshot_20250215_175721.jpg"><img class="aligncenter size-medium wp-image-30316" src="http://absolutelybaching.com:81/wp-content/uploads/2025/02/Screenshot_20250215_175721-650x369.jpg" alt="" width="650" height="369" /></a>+{{ :software:giocoso:screenshot_20250215_175721.jpg?direct&650 |}}
  
 As a rough-and-ready guide, however, if your report opens in a web browser or contains lots of dashes and plus signs: it's a global report. If it opens in terminal windows with nice line-draw characters defining the columns and headers, you're running a local report. As a rough-and-ready guide, however, if your report opens in a web browser or contains lots of dashes and plus signs: it's a global report. If it opens in terminal windows with nice line-draw characters defining the columns and headers, you're running a local report.
  
-Every time you take the Pro menu, Option 9, you'll switch to the alternate reporting mode <em>and</em> be immediately transported to the Reporting menu: the program assumes that if you're changing the reporting mode, you probably want to run a report+Every time you take the Pro menu, Option 9, you'll switch to the alternate reporting mode //and/be immediately transported to the Reporting menu: the program assumes that if you're changing the reporting mode, you probably want to run a report!
- +
-To be completely unambiguous about it: <em>reporting</em> in local mode does <strong><em>NOT</em></strong> mean you've stopped operating Giocoso in Pro mode. It just means that, <strong>for reporting purposes only</strong>, you've chosen to use data from your local database, rather than the shared, Pro one. You can switch back and forth between local and global reporting modes at will, as often as you like, by taking the <strong>Pro</strong> menu, <strong>Option 9</strong>, which toggles between the two reporting modes as often as you like. +
- +
-On the other hand, if you clear out the 'Remote MySQL Server IP Address' entry in your configuration options (<strong>Administration</strong> menu, <strong>Option 2</strong>), you're completely switching off Pro mode, so reports automatically switch back to local mode and cannot then be run in global mode until you once again enter an IP address for a remote Pro database server. This is 'toggle-able', in other words, but a much less convenient way of doing things than using the Pro menu, Option 9!+
  
 +To be completely unambiguous about it: //reporting// in local mode does **//NOT//** mean you've stopped //operating// Giocoso in Pro mode. It just means that, **for reporting purposes only**, you've chosen to use data from your local database, rather than the shared, Pro one. You can switch back and forth between local and global reporting modes at will, as often as you like, by taking the **Pro** menu, **Option 9**, which toggles between the two reporting modes as often as you like.
  
 +On the other hand, if you clear out the 'Remote MySQL Server IP Address' entry in your configuration options (**Administration** menu, **Option 2**), you're completely switching off Pro mode, so reports automatically switch back to local mode and cannot then be run in global mode until you once again enter an IP address for a remote Pro database server. This is 'toggle-able', in other words, but a much less convenient way of doing things than using the Pro menu, Option 9!
  
 ---- ----
 <nowiki>| </nowiki>**[[:software-menu|Back to Software Home]]** | **[[:softwares:giocoso:giocoso|Back to Giocoso Documentation Home]]** | **[[:softwares:giocoso:promenu|Back to Pro Menu]]** |  <nowiki>| </nowiki>**[[:software-menu|Back to Software Home]]** | **[[:softwares:giocoso:giocoso|Back to Giocoso Documentation Home]]** | **[[:softwares:giocoso:promenu|Back to Pro Menu]]** | 
 ---- ----
  • softwares/giocoso/promenu/togglemode.txt
  • Last modified: 2025/12/10 17:49
  • by hjr