|
That usually happens when the URL you've requested redirects you to another URL, using an HTTP 3xx status code. It tends to be most noticeable on sites that use "live.com" for authentication - the original URL redirects to a "live.com" URL, which redirects to another URL, which eventually redirects you to the page you want.
The other time you might see it is if the site is using the history API[^] within a single page.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Interesting. Would links to advertising do this as well?
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Possibly, if the link you click on goes to a handler that records the click and redirects you to the next URL.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
So I've been in hyperdrive learning ASP.NET MVC, Web API, CRUD operations, REST calls, Entity Framework, SQL, LINQ, jQuery, and more about unit testing and TDD, and I am now able to set up a database back-end and currently working with using web APIs to send JSON to be rendered client-side for a quicker user experience and less server resource usage...
My question is a lot of that stuff seems to be for significant size projects. What do web devs typically use to make a site that doesn't require a database platform? For example, I want to make a simple portfolio website with business information about me and some sample projects... I have no need for an account system, shopping cart, userbase, etc... I could even hard-code the page content frankly... Is there a benefit to using a MVC and database-backed system for such a site still or is that overkill? What technologies are typically used on simple (but modern, of course) websites? I'm thinking Bootstrap, HTML, and CSS at the very least but I'm not 100% sure what frameworks may be used.
Last but not least, what's the low-down on security in web development? I keep hearing people making comments telling other developers to use a CMS "for security reasons." But if we use other peoples' CMS, how will we learn to make our own CMS?
Thanks for your insight and I apologize for my ignorance, I only started coding this past May and am very happy to have learned this much but am at the stage now where I want to apply my knowledge above and beyond course exercises and assignments.
|
|
|
|
|
TheOnlyRealTodd wrote: use a CMS "for security reasons."
That's a new one on me.
A CMS is about making it easier to change the content of your site. By definition, that also makes it easier for hackers to change the content of your site.
You're exposing a bigger surface-area which has to be secured, which means learning how to use the CMS to secure it. You'll also need to keep on top of updates, so that you can install patches for any security vulnerabilities as soon as they're patched.
Hopefully, you'll pick a CMS which is free from basic security problems like SQL Injection, XSS, XSRF, etc., and which has an active development team to squash any bugs as they emerge.
You'll also need to be ready to jump ship if the CMS you choose is ever abandoned. Being stuck on a dead product is a great way to expose yourself to security vulnerabilities!
I guess there's more chance of bugs being discovered and fixed in a widely-used CMS than in a home-brew solution. But there's also more chance that those bugs will apply to multiple sites, making them high-value targets for hackers.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Below are some step explain that how web development architectures in real is:-
Operating system (Linux, etc.)
Server side programming language (PHP, Python etc.)
web server
Front-end UI stack (Bootstrap, CSS3 SAAS/LESS, HTML5 , jQuery, angularJS or similar JS libraries etc.)
Database engine (Mysql, sqlite, MongoDB etc.)
Caching management (Media caching - CDN server, Backend caching - APC for PHP, web server caching - redis etc.)
Web Frameworks (MVC frameworks such as Zend, laravel for PHP)
|
|
|
|
|
I'm trying to make a navbar that looks like the Walmart navbar for shopping on a e-commerce project that I am working on.
I tried using pure bootstrap, but it was really hard. So I thought I would just write something custom overriding some of the bootstrap CSS.
I can't get the search bar block to go wider. I want the textbox to be wider, but I can't seem to get a measurement of the parent container to do it in percentages. The old percentage of what?
This is Day 2 round 2, and I'm working on the desktop view, haven't started the mobile view yet.
This is an image of explanation, visual explanation, it was an image element but it didn't work
NavBar Image, it's safe
This is my JSFiddle of the code to look at.
This is the first time I have used this app, and it didn't turn out well. I need to fix it.
I have no idea why the MyAccount is not showing on the right.
Project Indigo Browse Controller Nav Bar - JSFiddle[^]
So this is how it looks on the website currently
http://codename-indigo.com/browse[^]
|
|
|
|
|
I removed one of the CSS classes in the nav-addon, and changed the way the width was set in some of the elements.
So now I just need to make it mobile. Not looking forward to that.
And now I'm wondering if I could of made it pure boostrap instead of creating another css file for it.
|
|
|
|
|
Hi
how to create php website in arabic, pashto lnaguage using tool Adobe Dreamwearver CS5
plz help
|
|
|
|
|
Dreamweaver has nothing to do with the localization approach of your application. That is simply an editor (like IDE) that allows you to develop web applications in HTML, CSS and JavaScript, with additional support of Adobe based PhotoShop themes for web pages.
Whereas the localization and the globalization settings totally depend on the PHP server side scripting. In this case, you will have to do the server side programming to get the results. For example, gettext of PHP can be of great handy approach. However, instead of just talking about things I would like to forward you to a bit of tutorials where you can learn these.
Localization in php, best practice or approach? - Programmers Stack Exchange[^]
PHP internationalization - i18n mechanisms tutorial - LingoHub - Translation Service Hub[^]
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
I try more time to delete record by jquery but no responding meaning nothing happen
my code as following
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
<script src="~/Scripts/jquery-1.10.2.js"></script>
<script>
$(function () {
$("#btn").click(function ()
{
var x = $("#txt1").val();
var y = $("#txt2").val();
var z = $("#txt3").val();
$("#tb").append(" " + x + " " + y + " " + z + " <input type='button'value='Delete'/> <input type='button'value='Edit'/>");
});
$("#tb").on("click", ".c", function () {
$(this).parent().parent().remove();
});
});
</script>
</head>
<body>
ID<input type="text" id="txt1" />
Name<input type="text" id="txt2" />
Country<input type="text" id="txt3" />
<input type="button" value="add" id="btn" />
ID | Name | Country | <input type="button" class="c" value="Delete" /> | Edit |
</body>
what remaining in my code or wrong to button delete work
|
|
|
|
|
i think you are missing 'closing script tag'
|
|
|
|
|
Hi,
We are using jquery slider in our application. on focus event for text box, slider will come into picture. When we slide, a value will be putting into textbox and cursor goes at right end. For example, when i slide, suppose a value 1.25 will be set into textbox. When i click on 1 in above value, cursor always going at right end. Please give me solution when we click on 1, the cursor should stay there itself
|
|
|
|
|
We wish to give link to full paper download on the article page displaying abstract.
We plan to provide 3 fields namely Name,email-id,member no with submit button. Once the user fills the information his name should be registered as a member and the pdf of concerned paper should get downloaded on users machine.
How this functionality can be incorporated in Joomla 2.5?
|
|
|
|
|
I am working on a project where I want to enable the user to upload multiple files or a folder and compress it before receiving on my server.
Problems:
1. How to enable folder upload.
2. How to enable file compression at user end.
I am well aware with java javascript AJAX html5 css3 servlet jsp etc.
PS. I know file compression and encryption with java.
|
|
|
|
|
On the client-side you require to be using JavaScript based solution, in order to perform these actions.
- Folder would require to be in a form of a file, compressed file (.zip for instance).
- File compression APIs can be used to perform these tasks in JavaScript. JavaScript has no built-in approach.
Secondly, if you want to go for it. You can write your own library if you know any algorithm for file compression. Here are a few that I found on Google after searching for "js based file compression api":
JSZip[^]
https://developers.google.com/closure/compiler/docs/api-tutorial2[^]
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
I need help to format this part of code
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tbody>
<td class="tcat2" style="text-align:center;">
<div class="fb-page" data-href="https://www.facebook.com/LuDi-ATOM-Community-785265841562124/" data-small-header="true" data-adapt-container-width="false" data-hide-cover="true" data-show-facepile="false"><blockquote cite="https://www.facebook.com/LuDi-ATOM-Community-785265841562124/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/LuDi-ATOM-Community-785265841562124/">LuDi ATOM Community</a></blockquote></div>
</td>
</tbody>
</table><br />
to get facebook like button add to look like this, on site
Picture1
Instead of this (right now this weird formating on site blocking that style from first photo)
Picture2
I got it to work once, but now I'm totaly losted... Since I'm not so much familiar with XML.
P.S. When I made it to work, it worked only in Opera and Chrome, but not in Firefox...
Complete code:
Private Paste ID: vPZEmLjq[^]
modified 9-Jul-16 21:39pm.
|
|
|
|
|
This is not XML, it is HTML. Secondly, you haven't even written the code for Facebook's like button. One thing that I can is, use the HTML content provided by Facebook, embed that like button in your website if you are novice to these programming skills. Do not go into the depths, or you may waste the UI/UX guidelines.
EnjoY_Y wrote: P.S. When I made it to work, it worked only in Opera and Chrome, but not in Firefox... That is because since a while now, Opera uses Chrome's engine and what works in Chrome (approximately) works in Opera too. Firefox is a different beast.
Go here and get the like button's HTML code, use the embedding mechanism on your website, and you're done!
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
I'm still stuck on this. I need to figure out how to host a SignlaR app.
There are plenty of examples of "self hosting" out there, but they're mostly console apps running on the development machine for the purpose of demonstrating SignalR.
I need to host this on a server, preferably in IIS.
Anyone got any experience or know of any help towards this?
Thanks.
If it's not broken, fix it until it is
|
|
|
|
|
|
I don't see how. It doesn't discuss hosting at all
If it's not broken, fix it until it is
|
|
|
|
|
Are you not seeing the same page that I am?
Setup
Go to NuGet and install the SignalR package into a WebApplication:
Install-Package Microsoft.AspNet.SignalR
Server
Create a class that derives from PersistentConnection:
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR;
public class MyConnection : PersistentConnection
{
protected override Task OnReceived(IRequest request, string connectionId, string data)
{
return Connection.Broadcast(data);
}
}
Setup Routing
Make a route for your connection:
Global.asax
using System;
using System.Web.Routing;
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
RouteTable.Routes.MapConnection<MyConnection>("echo", "/echo");
}
}
If you are setting up other routes, the SignalR mapping needs to be done before the other ones.
If you follow that, then you should end up with your SignalR code hosted in IIS. Was that not what you were asking?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I already have all of that code.
Where in there does it discuss HOW to host it in IIS?
If it's not broken, fix it until it is
|
|
|
|
|
The part I quoted is the instructions for hosting in IIS.
Create a web application project. Follow the instructions from that page. Deploy the application. Your code is now hosted.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I've been through all that before. I get no response from the server. Even trying to navigate to the url in IE returns a 404.
I just found this[^]
Maybe I'll give this a try.
If it's not broken, fix it until it is
|
|
|
|