1. Thumbnails

    Date: 03/13/06 (Web Development)    Keywords: ecommerce, css, asp

    There's this ecommerce site I created a while ago and all the item thumbnails nicely flow on the page thanks to CSS. The number of items in each row is not fixed and flows to the width of the user's screen. In my opinion this makes very efficient use of screen real estate and therefore maximizes the number of items someone can see at one time.
    A different site than the one in question, but I used the same technique.
    Well lately on two other sites two people who are basically computer illiterate fail to appreciate the elegance of this solution.
    A-The number of items much be the same on each row.
    Sorry that is unreasonable and only possible if that category has an even number of items. The say that they understand and then when an item is added or removed from the store there an "emergency". This person calls the IT guy at 6 on Friday to say that there's a major problem with the ____ site that the last row only has one item! I have tried to help explain this and they just don't want to accept the fact that they just don't grasp how this sort of thing should work.
    B-If a category only has two items then they must have larger thumbnails or centered, they look too "lonely".
    I really just plain don't know how or why to solve this "problem" except that there shouldn't be a separate category for just two items. The company won this award and they have two special items to promote this and they insist on these items having their own special category. My point is that categories should be created with the intent of allowing the users to find items easily, not so much as a marketing tool. The one item is already a large image featured on the home page, so it is unlikely that the site's visitors will miss that item.
    I usually am pretty good at simplifying explanations for things like this, but I am just stumped on a definitive reasoning behind why I have done things the way I've done them—the correct way as I see it.

    Source: http://community.livejournal.com/webdev/305983.html

  2. DB_DataObject and OOP

    Date: 03/22/06 (PHP Community)    Keywords: php, html, database, asp, sql

    Ok - I'm going to try my best to not sound like I have no idea what I'm talking about -

    I'm trying to move more towards pure OOP practices in my PHP projects, and I've been sifting through a couple of packaged MVC frameworks and some OnLAMP tutorials on writing you're own... very cool stuff, too bad i'm only like 3 years behind...

    anyway - I use DB_DataObject primarily for my database interactions (if you don't know DB_DataObject is an object relational database tool with an automatic class generating script) - I _would_ like to be able to do some things easier/better with DB_DataObject (PK+FK JOINs in particular could be a bit more elegant) but overall it's a useful tool that cuts out a lot of SQL coding...

    So - my actual question - in the article I'm digging thru (http://www.onlamp.com/pub/a/php/2005/09/15/mvc_intro.html) the author is extending his base framework class with a framework DB class that provides the database connection (it's basically a tiny class that sets $this->db) - I'm wondering what is the best way to incorporate DB_DataObject into a solid OOP class schema

    - should I use the DataObject generated class as my base class that I extend - then what if I'm writing a class that doesn't need DB connectivity? The other thing I was thinking was to attach it to my other classes like $this->DO = new DataObject_Class but I really like having my class properties line up with my database fields (user.email = $user->email _not_ $user->DO->email); Is there something I'd be better off using the DB_DataObject (I can't bear the thought of -gasp- writing SQL anymore)

    I'm somewhat new to this OOP game so any help is appreciated

    Source: http://community.livejournal.com/php/429624.html

  3. Encryption questions....

    Date: 03/27/06 (Algorithms)    Keywords: software, database, asp, security, web

    Hello

    I am a software engineer in MA for a small internet company. Currently I am working on a webservices API our product and have been struggling with the authentication model. I read around and found an article that talked about WSSE authentication This seems relatively easy to implement and I kind of have a mock demo set up, but there is a problem with my demo, that I am not sure how to fix, as I am not a cryptologist and though I use crypt() and know how to compare a plain text password to a crypt encrypted password, more advance topics are beyond me. So this is my problem I will refer to the ideas in the article so I recommend you giving it a quick read.

    In the artcle it discusses creating a "password digest" using a "Created Date" a "nonce" and the "password string". as a Base64 encoded sha1 string(i'll probably ise md5). the sha1 string is "nonce"+"created date"+"password string". They then pass the nonce and create date in the header and assume that you have the password on the other end and can piece it back together creating another sha1 string to compare it too and verify authentication.

    I have a test ap, and here is the problem problem I am running into. Say I have my api, and I have a company writing an app to use it. I tell them to use the above method and to use crypt to create their password string from their user inputed password. I get their data parse the headers and have the 3 aspects. I decode the base64 string to the sha1 string, but when I compare them it fails. The problem being that they are not encrypted with the same salt when crypt was used. Therefore the encrypted password they put in their string is different than the encrypted version in my database. This can be fixed if they know my salt, but that's a security risk. So I am not sure how to get around this problem.

    Suggestions?

    Source: http://community.livejournal.com/algorithms/74647.html

  4. Encryption questions....

    Date: 03/27/06 (Web Development)    Keywords: database, asp, security, web

    Currently I am working on a webservices API our product at work and have been struggling with the authentication model. I read around and found an article that talked about WSSE authentication This seems relatively easy to implement and I kind of have a mock demo set up, but there is a problem with my demo, that I am not sure how to fix, as I am not a cryptologist and though I use crypt() and know how to compare a plain text password to a crypt encrypted password, more advance topics are beyond me. So this is my problem I will refer to the ideas in the article so I recommend you giving it a quick read.

    In the artcle it discusses creating a "password digest" using a "Created Date" a "nonce" and the "password string". as a Base64 encoded sha1 string(i'll probably ise md5). the sha1 string is "nonce"+"created date"+"password string". They then pass the nonce and create date in the header and assume that you have the password on the other end and can piece it back together creating another sha1 string to compare it too and verify authentication.

    I have a test ap, and here is the problem problem I am running into. Say I have my api, and I have a company writing an app to use it. I tell them to use the above method and to use crypt to create their password string from their user inputed password. I get their data parse the headers and have the 3 aspects. I decode the base64 string to the sha1 string, but when I compare them it fails. The problem being that they are not encrypted with the same salt when crypt was used. Therefore the encrypted password they put in their string is different than the encrypted version in my database. This can be fixed if they know my salt, but that's a security risk. So I am not sure how to get around this problem.

    Suggestions?

    Source: http://community.livejournal.com/webdev/309704.html

  5. cross posted to webdev...

    Date: 04/03/06 (PHP Community)    Keywords: php, mysql, database, asp, sql, linux, hosting

    I want to ask you guys out there for some suggegtions/advice on hosting companies. I have very specific needs:

    I need a host that:
    1) Is reliable and has good, quick customer service
    2) Supports PhP on a windows server - I need to run ASP and PhP
    3) Provides at least one SQL Server not mySQL) Database if not more
    4) Lets me run my own mail server (not sure if this is done through hosting or domain registration)
    5) Preferably lets me add sub-domains for little to no extra cash

    Right now I have Enterhost and they are awful (don't support PHP, charge out the ass, their logs don't work, you can't have sub-domains or dedicated IP's and every time I ask them for something they say no). I'm looking at maybe HostExcellence? I need something with practically no downtime, as it is for a money-making site.

    On the same subject, is it possible to move files over to the new host and access it through only the IP address before switching my domain name servers? I want to get everything moved and tested on the new server and make sure all the DB calls work before it goes live. Not sure if I could do that without hostin a second, 'testing only' domain temporarily, as I've never done a large-scale transfer like this.

    Any advice (besides 'Just switch to a Linux server') is helpful.

    Source: http://community.livejournal.com/php/433400.html

  6. Another one of those hosting questions...

    Date: 04/03/06 (Web Development)    Keywords: php, mysql, database, asp, sql, linux, hosting

    OK, so I know this is a weekly occurance here, but I want to ask for some suggegtions/advice on hosting companies. I have very specific needs:

    I need a host that:
    1) Is reliable and has good, quick customer service
    2) Supports PhP on a windows server - I need to run ASP and PhP
    3) Provides at least one SQL Server not mySQL) Database if not more
    4) Lets me run my own mail server (not sure if this is done through hosting or domain registration)
    5) Preferably lets me add sub-domains for little to no extra cash

    Right now I have Enterhost and they are awful (don't support PHP, charge out the ass, their logs don't work, you can't have sub-domains or dedicated IP's and every time I ask them for something they say no). I'm looking at maybe HostExcellence? I need something with practically no downtime, as it is for a money-making site.

    On the same subject, is it possible to move files over to the new host and access it through only the IP address before switching my domain name servers? I want to get everything moved and tested on the new server and make sure all the DB calls work before it goes live. Not sure if I could do that without hostin a second, 'testing only' domain temporarily, as I've never done a large-scale transfer like this.

    Any advice (besides 'Just switch to a Linux server') is helpful.

    Source: http://community.livejournal.com/webdev/311542.html

  7. Cybercrooks ramp up against antivirus firms--and each other

    Date: 04/04/06 (Security)    Keywords: asp

    Net criminals are fighting the good guys--and other bad guys--as they pursue more financial gain, Kaspersky Labs says.

    Source: http://news.zdnet.com/2100-1009_22-6057654.html

  8. Silly Easy Question.. I hope

    Date: 04/05/06 (Asp Dot Net)    Keywords: browser, asp, security, web

    In Visual Studio 2005 I’m writing in VB for an ASP.NET website, when I Build my website and copy the files to a server I get error...
    It says that I can not view the site I just wrote... however when I’m on the PC and I run it with debug or F5 the pages work correctly... What could be the problem?

    The server is on the same LAN at my work and has our Intranet website running on it just fine…




    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

    Source: http://community.livejournal.com/aspdotnet/59935.html

  9. AJAX, SQL and PHP question

    Date: 04/05/06 (PHP Community)    Keywords: php, xml, database, asp, sql, java

    Hi guys,
    I was just fooling around with AJAX for the first time and it's working fine so far, but of course some problems are around.

    My question is, is there some possibility to insert PHP code in Javascript?
    I have my JavaScript file, and now I need to tell it somehow which ID to select from the database.

    function showFan(str) {
    var url="getFans.php?id=" + Math.random() + "&q=" + str
    xmlHttp=GetXmlHttpObject(stateChanged)
    xmlHttp.open("GET", url , true)
    xmlHttp.send(null)
    }

    The second line is the one that bothers me. There should be the SQL table variable after the id=, like this; getFans.php?id=$country. The +Math.random() stuff is from the tutorial, no idea what it does, and the rest of the line is also from the tutorial, they used ASP there but I have no clue about asp. So can anyone help me out with and and tell me what PHP code I need to have in my getFans.php in order to make this work? My getFans.php is just a file with the usual database connections and printing stuff, nothing else.

    Thanks is advance :)

    Source: http://community.livejournal.com/php/434515.html

  10. New VS.Net file extensions

    Date: 04/06/06 (C Sharp)    Keywords: software, asp, sql, microsoft, google

    Hi,

    I'm kind of new here and wasn't sure of where to post this since it pertains to Microsoft Visual Studio .NET 2003 itself and neither C# not ASP.Net

    The project I'm working on requires me to work a lot on.pc and .pkg files (ProC and PL/SQL packages)

    Now Microsoft Visual Studio .NET 2003 recognizes neither and I spent a long time on google trying to find out how to make it treat these files like C and SQL files respectively - basically do the necessary colorization - but with no result.

    I finally found the solution after looking around in my machine's registry.

    -

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File Extensions\

    That's where you need to add an extra key in the registry if you need your VS to recognize new file types.

    Use the value from the existing file type whose formatting you want the new file type to have.

    -

    Works beautifully!

    Just thought I'd post it here in case anyone else finds it useful. Posted to both '[info]'aspdotnet and '[info]'csharp. Do let me know if this is against community rules and I'll take it off.

    Source: http://community.livejournal.com/csharp/56217.html

  11. New VS.Net file extensions

    Date: 04/06/06 (Asp Dot Net)    Keywords: software, asp, sql, microsoft, google

    Hi,

    I'm kind of new here and wasn't sure of where to post this since it pertains to Microsoft Visual Studio .NET 2003 itself and neither C# not ASP.Net

    The project I'm working on requires me to work a lot on.pc and .pkg files (ProC and PL/SQL packages)

    Now Microsoft Visual Studio .NET 2003 recognizes neither and I spent a long time on google trying to find out how to make it treat these files like C and SQL files respectively - basically do the necessary colorization - but with no result.

    I finally found the solution after looking around in my machine's registry.

    -

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File Extensions\

    That's where you need to add an extra key in the registry if you need your VS to recognize new file types.

    Use the value from the existing file type whose formatting you want the new file type to have.

    -

    Works beautifully!

    Just thought I'd post it here in case anyone else finds it useful. Posted to both '[info]'aspdotnet and '[info]'csharp. Do let me know if this is against community rules and I'll take it off.

    Source: http://community.livejournal.com/aspdotnet/60864.html

  12. CSS w/ JS vs DHTML Menus

    Date: 04/10/06 (Web Development)    Keywords: browser, css, html, asp, web

    I'm developing 2 sites that have a horizontal navigation menu. Normally, I frown on horizontal menus because it doesn't allow for expansion of "areas", but the recent layouts tend to look better with a horizontal menu. I'm in a bit of a bind, because the only navigation drop down/slide out is a CSS driven layout with JS, but I can't get the hort. menu to work with it. It was suggested that I use a DHTML menu with layers, but I have never attempted that.

    Could you all give me some advice or suggestions? I like the look and feel of the JS menu, but I know that about 10% of the users disable JS in the browsers and sometimes the JS prevents the links to be cataloged for search engines. What is the positive/negative aspects of using DHTML for the menus? Does anyone have a good tutourial for it? I'm using Dreamweaver 8.

    This is one of the websites:
    Haunted Studies

    Cross Posted... A lot.

    Source: http://community.livejournal.com/webdev/312504.html

  13. CSS w/ JS vs DHTML Menus

    Date: 04/10/06 (WebDesign)    Keywords: browser, css, html, asp, web

    I'm developing 2 sites that have a horizontal navigation menu. Normally, I frown on horizontal menus because it doesn't allow for expansion of "areas", but the recent layouts tend to look better with a horizontal menu. I'm in a bit of a bind, because the only navigation drop down/slide out is a CSS driven layout with JS, but I can't get the hort. menu to work with it. It was suggested that I use a DHTML menu with layers, but I have never attempted that.

    Could you all give me some advice or suggestions? I like the look and feel of the JS menu, but I know that about 10% of the users disable JS in the browsers and sometimes the JS prevents the links to be cataloged for search engines. What is the positive/negative aspects of using DHTML for the menus? Does anyone have a good tutourial for it? I'm using Dreamweaver 8.

    This is one of the websites:
    Haunted Studies

    Cross Posted... A lot.

    Source: http://community.livejournal.com/webdesign/1095287.html

  14. Resource files and images/icons/anything other than strings!

    Date: 04/11/06 (Asp Dot Net)    Keywords: asp, web

    Greetings everyone,

    I've started a mission on learning to use resource files with my web applications. I'm starting simple just learning how to put assets in to my resource files, and then reference to them within my content pages and code-behind pages.

    I'm able to handle string resources no problem. I've moved on to trying to add/retrieve images. Here's where I'm getting stuck! (So I can only imagine where I'll be trying to skip images and checking out icons or media or files or... or.. or... you get the picture)

    I have my default.aspx page (with her .cs file as well) and I've created the Default.aspx.resx file stored in the App_LocalResources folder.  I've added a test image with the name "defaultImg" filename of "userDefaultImg.gif" it tells me the Type is "Graphics Interchange Format" with size of "140x140".

    Now... How the heck do I display this image resource on my default.aspx page?

    I know when I add a string resource, I can easily set the text of, say, a label control by:



    But Resources:defaultImg will give me "System.Drawing.Bitmap" if I try and set the same way:



    What's the best way to retrieve these image assets I've placed in to my resource files?

    Source: http://community.livejournal.com/aspdotnet/61620.html

  15. asp.net 2.0

    Date: 04/12/06 (C Sharp)    Keywords: css, html, asp

    I am upgrading some 1.1 code to asp.net 2.0. The old code used stylesheets. The controls on my page that use css classes are fine after the upgrade, but the controls that i have hard coded the properties for are not. Its as though they are being overridden by a style sheet or some other unknown force. I have no css class specified for these controls, just set the properties on the html page, and I can't get it to show what I want.
    Does anyone know why these hard coded properties are not showing up? What is overriding the settings?
    Thanks for any tips.

    Source: http://community.livejournal.com/csharp/57422.html

  16. asp.net 2.0

    Date: 04/12/06 (Asp Dot Net)    Keywords: css, html, asp

    I am upgrading some 1.1 code to asp.net 2.0. The old code used stylesheets. The controls on my page that use css classes are fine after the upgrade, but the controls that i have hard coded the properties for are not. Its as though they are being overridden by a style sheet or some other unknown force. I have no css class specified for these controls, just set the properties on the html page, and I can't get it to show what I want.
    Does anyone know why these hard coded properties are not showing up? What is overriding the settings?
    Thanks for any tips.

    Source: http://community.livejournal.com/aspdotnet/61852.html

  17. PhP and ASP

    Date: 04/18/06 (Web Development)    Keywords: php, asp

    If I open a session in ASP and have a session ID, can I use that session ID later in PhP or would the two languages generate different ID's?

    Source: http://community.livejournal.com/webdev/314775.html

  18. Myspace.com is hiring .NET developers!

    Date: 04/19/06 (C Sharp)    Keywords: programming, software, asp, sql, web, yahoo, microsoft

    They are hiring developers like crazy! Email your resume to myspacejobs@yahoo.com.

    Job description: .Net Developer-ASP.Net and C# (1.1 and 2.0)

    Social Networking is one of the hottest sectors on the web in recent years. MySpace.com has emerged as the definitive leader in this space and is the 2nd highest trafficked site on the Internet. MySpace has 210 employees and is in rapid growth mode.

    The .NET Team at MySpace.com focuses on performance and scalability to a degree that most developers have never had a chance to experience.

    Required Skills/Experience:
    - 2+ years of solid C# experience
    - 2+ years of ASP.NET (and the .NET 1.1 Framework) experience
    - 2+ years of experience developing with SQL Server 2000 (including stored procedures)
    - Strong knowledge of .NET Remoting (including HTTP and TCP/IP) and UDP
    - a solid foundation in n-tier, Business Objects, Design Patterns, and general OOP
    - Strong knowledge (and wisdom) of IIS6 and it's internals
    - Experience on sites under heavy loads that require meticulous attention to coding practices as they relate to performance and scalability

    Preferred but not required Experience:
    - Microsoft Pattern and Practice Team's Enterprise Application Blocks
    - Agile Software Development (including Extreme Programming)
    - Microsoft Application Center Test
    - LLBLGen
    - NUnit
    - nANT
    - Visual Studio 2005 (including Team System)
    - ASP.NET 2.0, ADO.NET 2.0, AJAX (Atlas), and the .NET 2.0 Framework
    - SQL Server 2005 feature set, enhancements, and changes that effect developers
    - ReSharper & dotTrace (from JetBrains)

    Source: http://community.livejournal.com/csharp/59216.html

  19. is microsoft copying mozilla.. did mozilla inspire?

    Date: 04/19/06 (Mozilla)    Keywords: asp

    could be................... you decide at http://blogs.msdn.com/ie/archive/2006/03/24/560095.aspx

    Source: http://community.livejournal.com/mozilla/357814.html

  20. myspace.com is hiring .NET developers!

    Date: 04/19/06 (Asp Dot Net)    Keywords: programming, software, asp, sql, web, yahoo, microsoft

    They are hiring developers like crazy! Email your resume to myspacejobs@yahoo.com.

    Job description: .Net Developer-ASP.Net and C# (1.1 and 2.0)

    Social Networking is one of the hottest sectors on the web in recent years. MySpace.com has emerged as the definitive leader in this space and is the 2nd highest trafficked site on the Internet. MySpace has 210 employees and is in rapid growth mode.

    The .NET Team at MySpace.com focuses on performance and scalability to a degree that most developers have never had a chance to experience.

    Required Skills/Experience:
    - 2+ years of solid C# experience
    - 2+ years of ASP.NET (and the .NET 1.1 Framework) experience
    - 2+ years of experience developing with SQL Server 2000 (including stored procedures)
    - Strong knowledge of .NET Remoting (including HTTP and TCP/IP) and UDP
    - a solid foundation in n-tier, Business Objects, Design Patterns, and general OOP
    - Strong knowledge (and wisdom) of IIS6 and it's internals
    - Experience on sites under heavy loads that require meticulous attention to coding practices as they relate to performance and scalability

    Preferred but not required Experience:
    - Microsoft Pattern and Practice Team's Enterprise Application Blocks
    - Agile Software Development (including Extreme Programming)
    - Microsoft Application Center Test
    - LLBLGen
    - NUnit
    - nANT
    - Visual Studio 2005 (including Team System)
    - ASP.NET 2.0, ADO.NET 2.0, AJAX (Atlas), and the .NET 2.0 Framework
    - SQL Server 2005 feature set, enhancements, and changes that effect developers
    - ReSharper & dotTrace (from JetBrains)

    Source: http://community.livejournal.com/aspdotnet/62694.html

Previous page  ||  Next page


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home