I am looking for a language or class reference for FiddlerScript.
The Fiddler ScriptEditor has a class explorer. But this only contains a very limited amount of documentation.
For example, what methods are available for the Hashtable or JSON.JSONParseResult classes? What can I do to get the current system time?
Then language looks a lot like CSharp but is just different enough that using CSharp documentation is frustrating.
A normal class reference of language manual is necessary, and also sufficient to answer all my other questions.
FiddlerScript uses JScript.NET language, which is not so supported and popular these days. There is an online tutorial, and Eric Lawrence also recommends Justin Rogers's Microsoft JScript.NET Programming book as an advanced JScript.NET reference.
Otherwise Understanding FiddlerScript blogpost by Eric Lawrence is a good entry-level tutorial specifically for FiddlerScript, more info is also available in the Debugging with Fiddler book. Using the Fiddler ScriptEditor (installed with Fiddler) also eases FiddlerScript development.
JScript.NET-based extensibility is preserved and enabled by default for more of a compatibility reasons, but for new projects you can use C# as an extensibility language by choosing C# in Tools -> Options -> Scripting -> Language in Fiddler options.
Related
I come from the world of JavaDocs and love the DX of working on a thoroughly-annotated application after a certain level of complexity.
Being able to hover over and peek all the props (and implied types) of a component with some brief documentation would save me so much time instead of having to open up and read through the whole component. Better yet, running a command to generate a documentation site just like you can with JavaDocs would be dope!
Are there any standards or tools built around creating SvelteDocs? I looked through the VS Code marketplace and didn't see any documentation tooling related to Svelte.
I stumbled upon this question in search of more in-depth documentation for the hover/peek documentation method I've been using. It seems that it is not very well documented (ironically) but it is a part of Svelte language-tools and I've been using it for some time with Svelte for VS Code so I'm sure there was more documentation at some point. The way it's used is as follows in your component. I remember reading somewhere that it needs to be the first thing in your component, but I can't find that source anymore.
<!--
#component
some markdown here
-->
For some reasons the only documentation I can find of it is here. But it provides very nice markdown support so you can craft some very informative hover/peek documentation for your components.
EDIT:
Still can't locate official documentation for the #component commenting feature but realized it is indeed described in the FAQ: https://svelte.dev/faq#how-do-i-document-my-components Does this information belong in the actual docs? Maybe.
After more digging, I found just a couple projects for documenting Svelte.
SvelteDoc Parser -- takes a VueDoc approach, based on JSDoc standards, generates JSON documentation for Svelte components
Svelte-Docs -- documentation in Markdown mixed with Svelte's features, can embed components in the generated doc pages
Both look interesting while taking completely separate approaches to solving the issue of application documentation. Perhaps there's still room to build a CLI-based site generator for the SvelteDoc Parser which could be turned into a VS Code plugin!
It is difficult to find a good one. I recommend
https://github.com/carbon-design-system/sveld
It looks very promising. It offers export in Typescript definitions, JSON and Markdown. In my opinion there is only one critical bug left (Markdown generation) so hopefully it can be used very soon.
From the last few days, i am trying to figure out best reporting tools for my work. I have mongoDB database server and now i need to integrate it with reporting tool. For mongoDB i used the C binding so i am looking for a reporting tool in C/C++. I came across some great tools like BIRT, Jaspersoft and Pentaho but i didn't get clean answer whether they have support for C/C++. So my question is do they have C/C++ binding or API?.
Also if you have some other tools recommendation for my work then please share that also.
To answer your question: No, these tools don't have a C/C++ API.
However, as Stennie pointed out in the comment, this shouldn't really be necessary, as you can use them with a http API. If you really want to use integrate them tightly with a C/C++ program, consider embedding Java into your program and see Embed Java into a C++ application?.
I was asked about this, someone mentioned me about Webratio, is there any othe tool or framework comparable to this, preferable oss?
Thanks.
I don't think so. WebML was created by the same people that founded WebRatio. Even if now they are trying to push it as a standard OMG web modeling language I don't think right now there are other tools that support it.
Jordi, you are right. As far as I know there are no other industrial implementations of WebML.
WebRatio is not opensource, but it can be downloaded for free for non commercial purposes.
Furthermore, along the line of standardizing the WebML language within OMG (under the name of IFML), we plan to release an opensource modeling tool.
OOH4RIA is a valid option, although experimental, but is not covering the WebML notation. It's instead based on an extension of the OOH notation for rich interfaces.
[Disclaimer: I'm with Politecnico di Milano and WebRatio, and among the inventors of WebML/IFML]
I think Ooh4RIA could be an option.
I'm new with this Perl Win32::OLE automation. I have been reading and trying out some examples. I have a few questions (excuse me if i'm using incorrect terminologies - do correct me):
Can OLE be used to automate Visual
Studio 2005? I only found examples
with Word, Excel and IE. How do
you know which app can be used?
How do I get the name of the program ID
to be used. For instance, "Excel" in
Win32::OLE->new('Excel.Application')
How do I get the available functions
for each programs. For instance,
Workbook, only can be used with
Excel, not Word.
Thanks for your time :)
The Win32::OLE documentation provides a rudimentary starting point.
As for your questions:
I do not think VS 2005 provides an OLE automation interface.
See this post on PerlMonks.
An excellent source of information for Microsoft Office applications is the Object Browser. You can access it via Tools -> Macro -> Visual Basic Editor. Once you are in the editor, hit F2 to browse the interfaces, methods, and properties provided by Microsoft Office applications.
Typically, the OLE automation model is up to the software you are trying to automate. You can usually figure it out by looking at the documentation, for example for the Microsoft products it will be in MSDN. For Visual Studio and the Office tools, you can also use the macro recorder to help figure out the syntax, since you can record a script that does vaguely what you want and then modify it.
Also, Visual Studio comes with the tool called "OLE/COM object viewer" (Oleview.exe) which can be used to open and read the type libraries for some target software. The type library is usually contained within a .tlb or .dll file and contains the more or less full description of the OLE Automation types defined for the application. You can look at the .idl thus reverse engineered and try to figure out what kind of things are possible.
To get a brief overview and introduction I would suggest looking at this The Perl Journal #10. Created by Jan Dubois.
Also here are some examples, if you havn't stumbled across it yet Examples
Hope it helps
How would I go about extending the functionality of windows explorer in XP?
Is there some way whereby I could create a "plugin" of some sorts that could hook into explore.exe to add additional folder browsing functionality? What language could I use to achieve this?
This is an expansion of a question I asked here.
There's a great series of tutorials on CodeProject which might help you. C++ is required there.
There is an old O'reilly book called 'Visual Basic Shell Programming' that explains the API's for this in some detail. While taken from a VB6-centric point of view, the API's are all exposed through COM, so they can be used from any language that supports this. This article discusses using the windows shell with .Net and a tool to build an interop assembly.