What kind of function is used
Code Project Forum » Web Development
by
3w ago
Hello Community, Would you be kind enough to answer this question? On some sites (usually blogs). We find this kind of configuration: a column on the left that takes up the theme and as soon as you click on it you instantly have the text content displayed on the right. We move to another element of the column and by clicking on it we have the corresponding text that is displayed on the right and this instantly without changing pages. Can someone tell me what kind of function we are talking about? Does it require advanced programming knowledge? how can I put this on a blog that I develop on W ..read more
Visit website
What are the best practices for optimizing the performance of a large-scale web application, both on the front-end and back-end?
Code Project Forum » Web Development
by
1M ago
Optimizing the performance of large-scale web applications involves strategies at both the front-end and back-end: Front-end Best Practices: Minimize HTTP requests: Combine files like CSS and JavaScript to reduce requests. Use lazy loading for images and assets. Use a Content Delivery Network (CDN): A CDN helps distribute your static assets across multiple servers for faster delivery. Minification and Compression: Minify CSS, JavaScript, and HTML. Also, enable gzip compression for files sent over HTTP. Browser Caching: Leverage browser caching to store static assets locally and reduce loa ..read more
Visit website
How to structure a Blazor web site
Code Project Forum » Web Development
by
1M ago
I have what I thought was a fairly simple requirement, web site (blazor) that delivers a minimal membership service. No registration (this is done by a WPF app with 1-2 users). Set up a web api to service the data and authentication requirements (done using JWT tokens) And this is where the rabbit hole opens up! Create a web app that gets its authentication from the web api and then service the data requirements. Every example i have found wants to use Entity this and Entity that with 7 different tables, registration, 2 factor security and password recovery, NONE of which I need. All I need ..read more
Visit website
API : resource NOT FOUND
Code Project Forum » Web Development
by
1M ago
I'm trying to make an API of my application using CodeIgniter 4 (PHP, Javascript), but when I clicked Send(in postman) with URL: http://localhost:8080/lampiran, it always showing '404 Not Found'(The requested resource /lampiran was not found). This is my controller : PHP class Lampiran extends ResourceController { protected $model = 'App\Models\lampiranModel'; protected $format = 'json'; public function index() { $data = [ 'message' => 'success', 'data_lampiran' => $this->model->findAll() ]; return $this->res ..read more
Visit website
How to make a site visible to specific countries or region ?
Code Project Forum » Web Development
by
1M ago
Hi I was wondering if I created a site while I am in France but my target are people in Canada. Hosting company in France gave me IP address for server in France but I want the site to be visible mainly for people in Canada . How I can do that ..read more
Visit website
Building a Web-based Code Editor
Code Project Forum » Web Development
by
3M ago
I'm currently implementing a web-based code editor into my web project (Project Chromosphere.com). I think some of you might be interested. It's a work in progress, but you can see it here: https://chromosphere.com/chromosphere/scripts/js/ui/sandbox/vsCode/[^] I considered creating a web-based code editor from scratch. Then, I realized the amount of time and effort to embark on such a thing would be ridiculous. I don't want to spend 1000 hours developing a web-based code editor. So, I'm going with a third-party solution. Microsoft VS Code[^] offers a good solution. The VS Code code editors a ..read more
Visit website
Creating a Synthetic Mouse Event: Event Sequence?
Code Project Forum » Web Development
by
3M ago
I wrote a function in JavaScript that creates synthetic events to simulate a full mouse event. What I mean by "full" is that I'm creating and dispatching the "mouseenter", "mouseover", "mousemove", "mousedown", "mouseup", "click", and "mouseout" events. In what order do the "mouseenter", "mouseover", and "mousemove" events occur? I've tried looking this up, but I'm not getting anything ..read more
Visit website
Fullcalendar with resourcetimeline laravel php
Code Project Forum » Web Development
by
4M ago
how do you use Draggable events with read start and end dates from the event and fix them but choose resource? <pre lang="text"><pre lang="Javascript"> <pre><script id="rendered-js"> document.addEventListener('DOMContentLoaded', function () { var date = new Date() var d = date.getDate(), m = date.getMonth(), y = date.getFullYear() var Calendar = FullCalendar.Calendar; //var Draggable = FullCalendar.Draggable; var containerEl = document.getElementById('external-events ..read more
Visit website
Can you use ApiKey and JWT in the same web API
Code Project Forum » Web Development
by
4M ago
I have a web api that services both wpf and browser clients. WPF only requires and ApiKey built into the application while the web will require authentication and authorisation (using JWT bearer tokens). If so does anyone have an example. Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP ..read more
Visit website
Do I need Open API when using Azure
Code Project Forum » Web Development
by
5M ago
I have a really simple API and see no need to implement open API except I want to host it on Azure (where my 2 table database is hosted). The overhead and learning curve for swagger is greater than the API learning curve. So is it possible to host a non Open API on azure. Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP ..read more
Visit website

Follow Code Project Forum » Web Development on FeedSpot

Continue with Google
Continue with Apple
OR