Introducing Sencha Ext.NET—a Blazing Fast Web App Development Approach for ASP.NET – Sencha.com Sencha Home / Blog / Ext.NET / Introducing Sencha Ext.NET—a Blazing Fast Web App Development Approach for ASP.NET
Published November 4, 2020 WRITTEN BY ED TITTEL. Ed Tittel is a long-time IT industry writer and consultant who specializes in matters of networking, security, and Web technologies. For a copy of his resume, a list of publications, his personal blog, and more, please visit www.edtittel.com or follow @EdTittel It’s always fun to start throwing out acronyms to get one’s technical juices flowing. To make sense of this blog post title, readers show know that OWASP is the Open Web Application Security Project, and that the ASVS is the Application Security Verification Standard. Of course, making sense of what this all means calls for additional explanation and more information. Let’s start with a brief backgrounder on the OWASP and follow up with a closer look at the ASVS with special emphasis on what it does and why it’s important. Introduction to the Open Web Application Security Project (OWASP) Founded in 2001, and incorporated as a US non-profit charity in 2004, the OWASP is an open community that’s focused on helping organizations design, develop, acquire, operate and maintain applications – especially web-based applications – that are secure and trustworthy. The OWASP’s reach covers a lot, including: Dozens to hundreds of community-led open-source software projects 275-plus local OWASP chapters around the globe Tens of thousands of registered OWASP members (individuals and organizations) Popular, widely-followed and -attended education/training conferences All OWASP projects, tools, documents, forums and chapters are free and open to those interested in improving application security. Overview of the Application Security Verification Standard (ASVS) The ASVS defines a basis for testing web application technical security controls (these are features or elements of an application designed to provide authentication and manage identity data, control access, provide data privacy and protection, and so forth). ASVS also equips developers with a checklist of requirements to ensure secure development practices and procedures, and to ascertain they produce secure code. As standard, the ASVS seeks to provide guidance, metrics and evaluation criteria for secure applications. In the area of guidance, the ASVS offers instructions and information to those who develop security controls on what must be built into such controls to meet application security requirements. In the area of metrics, the ASVS provides a yardstick of sorts against which to assess the degree of trust that applies to their web applications and development efforts. In the area of evaluation criteria, the ASVS works when procuring web applications from third parties to provide a basis for specifying (and enforcing) application security verification requirements in purchase agreements and contracts. As of November 4, 2020, the latest version of the ASVS is 4.0.2. It is available for download from GitHub. The release comes in .ZIP and tar.gz formats, and is approximately 60 MB in size (compressed; ~100 MB uncompressed). The Standard document itself is included in that archive, along with a test runtime. Who uses ASVS? The ASVS page includes an ASVS Users tab that names a variety of companies and agencies that have incorporated this standard into their software assurance toolsets. These include the following: What makes ASVS important for application security? Simply put, ASVS creates a common set of terms and metrics, along with a shared platform so that software developers and engineers can create secure working environments for web applications. The ASVS checks their efforts to […]
In this CodeRage session, Bernd Ua shows you the power and benefits of unit testing and mocking with Spring4D open-source framework. Overview of the Spring4D Spring4D is a great open-source framework to leverage the power of Delphi. In this session, you will learn about the mocking framework contained in Spring4D. We will see how easy it is to get started with mocking and mock out interfaces your classes under tests are using. What is mocking? If you are mocking out something you replace a productive implementation with a special implementation for testing, the so-called mock You can write Mocks manually or use ones that have been automatically created by frameworks The difference between mocks and stubs or dummies is some extra code to log and heck calls made to the mock What a Unit test should not do A Unit test should better not use Databases Network access File Systems External Resouces A Configured Environment So, if your unit test uses one of the above it is more likely an integration test. Be sure to watch the CodeRage session to learn more about mocking and mocking practices in action!
MultitrackStudio from Bremmers Audio Design is a multitrack music recording software which supports recording, editing and mixing audio and MIDI tracks. With the growth of Mac worldwide, MultitrackStudio developers felt the urgency of making their application available on macOS. They had previously used Delphi with VCL (Visual Component Library) a visual component based object oriented framework for developing Microsoft Windows applications. When Embarcadero Technologies released Delphi with FireMonkey, MultitrackStudio developers reworked their custom controls to work with both VCL and FireMonkey. The Delphi RTL (run time library functions and procedures) provided them with cross platform versions of most common functions and they could program against any C or Cocoa framework. After writing some Mac specific code including Core Audio and Audio Units, they had a running version on macOS. Website https://www.multitrackstudio.com/ Case Study https://www.embarcadero.com/case-study/bremmers-audio-design-case-study Screenshot Gallery
In this tutorial, you will learn how to create a Delphi VCL application from the ground. What can you learn from this tutorial: Three common components Explanation of Object Pascal source code Debugger How to change Target Platform (32 or 64 bit) Adding a watchlist Where to learn more about the Visual Component Library? VCL is one of the best known visual component library available in the universe. If your business relies on the Microsoft Windows OS, you should go with VCL! And here are the best sessions available to you to grasp a big body of information. Be sure to check out the external resources and happy learning!
Check out the 5-days C++ boot camp! Within this Bootcamp, you get over 10 hours of free training on C++ Builder. What topics this do Bootcamp cover? Building your first application with C++ Builder Creating fast, responsive user interfaces with animations and effects C++11 chat with C++ Experts C++11 Language Deep Dive C++ Game Development Stepping up to Mobile with Q&A for the Bootcamp In this first session, you learn how to create C++ applications, debugging the project, and exploring the features of C++ Builder. For instance, disabling the classic Borland compiler or changing compilation options. Furthermore, there is a short workshop on C++ language itself which covers C++ 11 features and new functions in C++11. Also multithreaded programming in the C++ workshop. When it comes to C++ Builder, you get amazing libraries for instance Parallel Programming library which helps you to process a big amount of calculations efficiently. Be sure to check out the whole Bootcamp sessions!
Want to know how to evaluate a Python Expression in Delphi using Python4Delphi? Python for Delphi (P4D) is a set of free components that wrap up the Python DLL into Delphi and C++Builder. They let you easily execute Python scripts, create new Python modules and new Python types. This post will guide you on how to use these components, create a VCL application, run a simple python expression in it, and shows the output message. Python4Delphi Demo2 Sample App shows how to Evaluate a Python Expression by typing the python expression in a Memo, execute and show the message. You can find the Demo2 source on GitHub. Check Demo1 on how to run a simple python script in Delphi. Prerequisites: Download and install the latest Python for your platform. Follow the Python4Delphi installation instructions mentioned here. Alternatively, you can check out this video Getting started with Python4Delphi Components used in Python4Delphi Demo2 App: TPythonEngine: A collection of relatively low-level routines for communicating with Python, creating Python types in Delphi, etc. It’s a Singleton class. Some of the key properties for the component listed here. AutoLoad: Enable this property to load the python DLL automatically. It defaults to true. AutoUnload: Enable this property to unload the python DLL automatically. It defaults to true. DllName: By default, it reflects the latest e.g. python39.dll. But you can provide your registered version. DllPath: Physical location of the Python DLL. InitScript: You can provide the python script here to execute implicitly. IO: Associate the TPythonGUIInputOutput component to this property. RegVersion: Registered python version e.g 3.9. UseLastKnownVersion: If you want to use the latest registered Python version installed set this property to True. 2.TPythonGUIInputOutput: Inherited from TPythonInputOutput (which works as a console for python outputs) Using this component Output property you can associate the Memo component to show the Output. MaxLineLength: Maximum character length per line. MaxLines: Maximum python script lines can be executed using this component. OutPut: Associate the Memo component to show the output. RawOutput: Produce the result as raw output. UniCodeIO: Set true to provide Input and output as Unicode. 3.TMemo: A multiline text editing control, providing text scrolling. The text in the memo control can be edited as a whole or line by line. You can find the Python4Delphi Demo2 sample project from the extracted GitHub repository ..Python4DelphiDemosDemo02.dproj. Open this project in RAD Studio 10.4.1 and run the application. Implementation Details: PythonEngine1 provides the connection to Python or rather the Python API. This project uses Python3.9 which can be seen in TPythonEngine DllName property. PythonGUIInputOutput1 provides a conduit for routing input and output between the Graphical User Interface (GUI) and the currentlyexecuting Python script. Memo1, used for providing the Python Expression and Memo2 for showing the output(instead Memo2 used ShowMessage to show the expression result) Buttons to perform the execution, load script from, and save the script to file. On Clicking Execute Button the script expression is executed using the below code. procedure TForm1.Button1Click(Sender: TObject); var Result : PPyObject; begin with PythonEngine1 do begin Result := EvalStrings( Memo1.Lines ); if Assigned(Result) then begin ShowMessage(Format(‘Eval: %s’,[PyObjectAsString(Result)])); Py_DECREF(Result); end else ShowMessage(‘Could not evaluate the script’); end; end; procedure TForm1.Button1Click(Sender: TObject); var Result : PPyObject; begin with PythonEngine1 do begin Result := EvalStrings( Memo1.Lines ); if Assigned(Result) then begin ShowMessage(Format(‘Eval: %s’,[PyObjectAsString(Result)])); Py_DECREF(Result); end else ShowMessage(‘Could not evaluate the script’); end; end; EvalStrings will evaluate the Mathematical expression provided in the Memo1 and return the Python Object(PPyObject). We […]
In this Delphi Bootcamp session, you can learn about how to create cross-platform games with Delphi FireMonkey. If would like to learn about the industrial game development use case in Delphi FireMonkey, be sure to check out the Rise of Legions game by Broken Games Studio which has over 100,000 subscribers. Overview Four Classic Arcade Games Alien Invasion Mars Rocket Rocket Ship Delta Space Rocks Supports Android/iOS/OSX/Windows Architecture: Putting It All Together TRectangle – As in image container Frames for UI Motion Sensor High Score via SQLite & LiveBindings Object Pooling Sprite Sheet Animation App Tethering Cross-Platform Sound Architecture: Game Loop TTimer with an event every 36ms Process game events like game over and level complete Process player inputs including Accelerometer Process explosions and projectiles Process enemy movements and events Process power-ups Handle collision detection for all entities Handle looping in the music Moreover, you can find epic Delphi Game Engines here:
Many times we need to override windows default settings or customize our application by code, irrespective of user settings in windows for better user experience. Your application has been built with options to apply certain themes and the user also has the flexibility to change Windows themes for entire windows/apps. In this case, your application user experience should not be affected by user system settings. This post can guide you to set the themes in your Windows VCL application. How to check whether dark mode is enabled? Press Windows + R -> Type Regedit cmd in Run Command window. Navigate to the folder: ComputerHKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize. Check AppsUseLightTheme Keyword and if its value is 1 then the windows apps theme is in Light mode and 0 means it’s in Dark mode. How to set the themes in Delphi from project options : In Delphi IDE, Go to -> Project Menu -> options -> appearance -> Select the available themes suitable for your application. Carbon for Dark theme for example. You application theme settings: If you want to give a better user experience explicitly irrespective of (or) according to windows themes selected by the user in the machine, first programmatically check the app theme mode. Navigate to the following location ComputerHKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize and get the keyword AppsUseLightTheme value. Accordingly build your logic of setting the VCL theme using the VCL API to set the themes. Note: Platform specific conditional defines need to be included accordingly if it is cross platform application. Check the below Video for the full demonstration of setting the dark/light theme Vice-versa for a VCL application. Check out the latest Delphi 10.4.1 which supports High DPI Styles and VCL per control styling for your applications.
Dreamsofts Optimization Ltd. has an award winning shipping container cargo optimizer available in the iOS and Mac stores. The application is also available on Windows and is built in Delphi FireMonkey. Both a professional and an enterprise version are available with different feature sets. The application is described as “First container loading and pallet loading on mobile platform. You have found the easiest container/pallet loading optimization application. Simulate loading your cargo in minutes, not hours or days ! Maximize your shipping with boxes and container/truck/pallet and save money and time.” Some of the awards that the app has received are “Winner Retails & Supply Chain Application Thailand ICT Award 2014” and “Merit award Asia Pacific ICT Award 2014”. It really is an amazing looking application and utilizes the full features of FireMonkey to make it happen. Website http://www.cargooptimizer.com/ (Download) App Store https://apps.apple.com/us/app/cargo-optimizer-max-for-ipad/id1292163026 Mac Store https://apps.apple.com/app/id1481054645?mt=12 Screenshot Gallery
Invormațiile pe cale Dvs le introduceți în prezentul formular nu se păstrează online, dar se vor transmite direct la destinație. Mai multe informații găsiți în Politica Noastră de Confidentialitate
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.