|
i am going to develop[ a web app, which requires lot of page transfers while performing.
I have read somewhere that angularjs is best for single page application.
then i want to know is that whether i have to use jquery or angular js.??
I also want to know that which of these two gives better end user performance.??
plz help me.
|
|
|
|
|
Member 12038487 wrote: want to know that which of these two gives better end user performance.??
Angular is a framework, jQuery is a library. Frameworks have their place and libraries have their place. However, there is no question that a good framework has more power in writing an application than a library. That's exactly the point of a framework. You're welcome to write your code in plain JS, or you can add in a library of common functions, or you can add a framework to drastically reduce the code you need to accomplish most things
|
|
|
|
|
I need the Wisdom of the Masses.
I've been using FrontPage 2003 since, well, 2003. I love it. Simple, fast, allows multi-line search/replace, has a split view of HTML/Markup so I can look at both while I edit, and it has a quick preview.
Except that it's old, and I'm not keen on installing Office 2003 components anymore, and there has to be - gotta be! - something even nicer and more fun.
Except I can't find anything better.
I tried WebMatrix and I lasted all of 2 minutes. I want an HTML editor. I don't want to build an entire website. I just want to quickly fire up an editor, edit, then shut it down. (and hence this precludes using VS)
So:
- Fast and lightweight.
- Split view while editing
- Multiline search and replace (meaning I can enter:
this is a line
and this is another line
and it will search for this multi-line pattern) - Has special handling of tags (eg remove all tags of a certain type, remove attributes of a certain type etc)
Anyone use anything vaguely like this?
cheers
Chris Maunder
|
|
|
|
|
I tend to use Notepad++, but Visual Studio Code[^] and Brackets.io[^] might be worth a look.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I have settled on MS Expressions 4. MS has made it free.
It has some degree of auto-completion for javaScript and php.
If you have local php instance it can configured to render php locally.
Downside: it's not super-up-to-date with respect to HTML5/CSS3. (Think IE8 level) - but that's not been a problems.
If you set something as a website it will create some useful metadata to keep things connected.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Ah - I forgot about expression. I'll give that one a go. Thanks.
cheers
Chris Maunder
|
|
|
|
|
what about dreamweaver ? my favourite with notepad ++.
|
|
|
|
|
Sublime text... The best!!!
|
|
|
|
|
Seconded, many useful plugins available also!
|
|
|
|
|
Hi,
I am trying to send email from my gmail business and PHPMailer but getting below error. I am 100000% sure about the password because I am able to login using the same passoword.
Here is my code:
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->SMTPDebug = 2;
$mail->Debugoutput = 'html';
$mail->Host = "smtp.gmail.com";
$mail->SMTPSecure = 'tls';
$mail->Port = 587;
$mail->SMTPAuth = true;
$mail->Username = "noreply@smashburgerbahrain.com";
$mail->Password = "xxxxxxxxxxxxxxxxx";
$mail->SetFrom("noreply@smashburgerbahrain.com", "Smashurger");
$mail->AddAddress($email_address, $email_address);
$mail->AltBody = 'To view the message, please use an HTML compatible email viewer!';
$mail->Subject = "Welcome to Smashburger";
$mail->Body = $body;
$mail->CharSet = 'UTF-8';
$mail->IsHTML(true);
if(!$mail->Send()) {
echo "Mailer Error: " . $mail->ErrorInfo;
} else {
echo "Message sent!";
}
This is the ERROR:
SMTP -> FROM SERVER:220 smtp.gmail.com ESMTP h108sm5648856qge.21 - gsmtp
CLIENT -> SMTP: EHLO smashburgerbahrain.com
SMTP -> FROM SERVER: 250-smtp.gmail.com at your service, [173.236.137.128]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
CLIENT -> SMTP: STARTTLS
SMTP -> FROM SERVER:220 2.0.0 Ready to start TLS
CLIENT -> SMTP: EHLO smashburgerbahrain.com
SMTP -> FROM SERVER: 250-smtp.gmail.com at your service, [173.236.137.128]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
CLIENT -> SMTP: AUTH LOGIN
CLIENT -> SMTP: bm9yZXBseUBzbWFzaGJ1cmdlcmJhaHJhaW4uY29t
CLIENT -> SMTP: TXVqdGFiYUAyMDE1
SMTP -> ERROR: Password not accepted from server: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbvDK534-5.7.14 AwRHY7MTTkREbKmKJBCJQOfC2xDhFNsnIrFD1l6HD52B9G6PfrlkjRgKPthtSHjMP6SqBB534-5.7.14 --MIzJIGCQR3wBZDisXU6pGtZHEiFvF3q_bUU1S0LRahwyHTxeI1abwnNSlv58jcN63T6b534-5.7.14 KhHnCPneegmwsY-9YPTav-BsQXSc8H-7RqVvBYN25oFPhJk1MUGdYdUCHZcWozp8mP_L9_534-5.7.14 ETMlGC-uTXoAncJ9XLJZSyRZL3PE> Please log in via your web browser and534-5.7.14 then try again.534-5.7.14 Learn more at534 5.7.14 <a href="https://support.google.com/mail/answer/78754">https://support.google.com/mail/answer/78754</a> h108sm5648856qge.21 - gsmtp
CLIENT -> SMTP: quit
SMTP -> FROM SERVER:221 2.0.0 closing connection h108sm5648856qge.21 - gsmtp
SMTP Connect() failed.
Mailer Error: SMTP Connect() failed.
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
Don't use gmail's smtp servers is the short answer.
http://forums.asp.net/post/5825785.aspx[^]
As for your specific problem, the usual issues are that you haven't configured your account to allow mails to be programmatically sent through it, your account is awaiting a "captcha" code and you won't be able to send until you log in manually and clear the code, or in your instance you are sending "from" an account that is not your gmail account which gmail does not allow, you can only send "from" your gmail account. See point 1
|
|
|
|
|
i want to increase background size of .woo-feature and .woo-about in page but after add the CSS the background width increased on window all browsers but its not working on MAC operating system on any of browser.
website link:- http:
CSS I USED:- .woo-feature{margin-left:-13%; margin-right:-13%;}
.woo-about{margin-left:-13%; margin-right:-13%;}
please give me any suggestion where i am wrong and how can i fix it.
Thanks
Gurjit Singh
|
|
|
|
|
This is simple code used in css.
div {
background: url(background.jpg);
background-size: 800px 600px;
background-repeat: no-repeat;
}
If you not want to use background image, remove 1st line of code. You can use background size in "%" also, thats will fits in all browser.
|
|
|
|
|
I am working on asp.net website. In one search page, i have to apend data on window scroll. form is a asp.net form with runat=server tag. I want to call a webmethod of a service or a method of a form, passing serialized form using jquery and get data back
in xml or json format back.I tried few things but getting errors.
is it possible?
can anybody point me to an article which does that?
below is sample code
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Script.Services;
using System.Web.Services;
namespace WebApplication1
{
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
[System.Web.Script.Services.ScriptService]
public class WebService1 : System.Web.Services.WebService
{
[WebMethod]
[ScriptMethod(ResponseFormat=ResponseFormat.Xml)]
public string HelloWorld()
{
DataSet ds = new DataSet();
ds.Tables.Add(new DataTable());
ds.Tables[0].Columns.Add(new DataColumn("PersonId"));
ds.Tables[0].Columns.Add(new DataColumn("PersonName"));
ds.Tables[0].TableName = "Person";
DataRow row = ds.Tables[0].NewRow();
row[0] = "1";
row[1] = "Sunny";
ds.Tables[0].Rows.Add(row);
row = ds.Tables[0].NewRow();
row[0] = "2";
row[1] = "Honey";
ds.Tables[0].Rows.Add(row);
string res = ds.GetXml();
return res;
}
}
}
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AjaxFormPost.aspx.cs" Inherits="WebApplication1.AjaxFormPost" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" language="javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript" language="javascript">
function SearchClick() {
alert('i am in');
var frmValue = $("#form1")
.serialize();
alert(frmValue);
$contentLoadTriggered = true;
$.ajax(
{
type: "POST",
url: "/WebService1.asmx/HelloWorld",
data: frmValue,
async: true,
cache: false,
success: OnSuccess,
failure: function (xhr, textStatus, errorThrown) {
alert("The call to the server side failed. " + xhr.responseText);
alert("The call to the server side failed. " + textStatus);
alert("The call to the server side failed. " + errorThrown);
},
error: function (xhr, textStatus, errorThrown) {
console.log("The call to the server side failed. 2 " + xhr.responseText);
alert("The call to the server side failed. 2 " + xhr.responseText);
alert("The call to the server side failed. 2 " + textStatus);
alert("The call to the server side failed. 2 " + errorThrown);
}
}
)
}
function OnSuccess(response) {
alert(response);
var xmlDoc = $.parseXML(response);
var xml = $(xmlDoc);
var person = xml.find("Person");
alert(person.length);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<table class="container">
<tr class="row">
<td class="control-col">
<label class="control-label" id="lbl1" visible="true">Person:</label>
</td>
<td class="control-col">
<asp:TextBox class="form-control" runat="server" Name="txt1" id="txt1"></asp:TextBox>
</td>
</tr>
<tr class="row">
<td class="control-col">
<label class="control-label" id="lbl2" visible="true">Price:</label>
</td>
<td class="control-col">
<asp:TextBox class="form-control" runat="server" Name="txt2" id="txt2"></asp:TextBox>
</td>
</tr>
<tr class="row">
<td class="control-col"></td>
<td class="control-col">
<asp:Button ID="btnSearch" class="form-control" Width="100px" runat="server" Text="Search" OnClientClick="SearchClick();return false;"/>
</td>
</tr>
</table>
</form>
</body>
</html>
|
|
|
|
|
|
Hello,
Could anyone please tell me the best free technical image resource sites & image without any copyright / under any license as well.
Regards,
Md. Marufuzzaman
|
|
|
|
|
|
What Richard said, sufficed your need.
But, there is another option that you can use. Search under creative commons[^] and select the type of content you are looking for, by license. You can apply the license type and get the content from multiple sources.
Anyways, you have the same feature on Google, just apply the filter for license.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
how to show an loading gif im,age when page loads in web developement
|
|
|
|
|
You can do it with couple of ways with jquery, ajax or with update panel control which ever best suits your need. Search with google you can find sample code there.
modified 20-Sep-20 21:01pm.
|
|
|
|
|
Message Closed
modified 7-Nov-15 8:45am.
|
|
|
|
|
Hello every one, I am working on angular js developing user interface for customer. I need to develop secure authentication for user credentials. While testing my application using (http I am facing this issue: "Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen."
Any help would always welcome regarding secure login.
|
|
|
|
|
With patience...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
You can use Google to find samples and tutorials on the subject.
|
|
|
|
|
If you're going to down-vote everyone who tries to help you, then nobody will try to help you.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|