Programming and Web Development

PHP

How do I update root certificates in Apache/PHP/cURL environment

Following is the instruction for dealing with the new ISIS’ SSL certificate authority (effective ...

What are the differences between addslashes(), mysql_escape_string() and mysql_real_escape_string()

addslashes() escapes single quote (’), double quote ("), backslash (\) and NUL (\x00).mysql_escap...

PHP and ODBC

While looking for something else in the Moodle Forums, I found these links that refer to the unde...

Speed of unpack() in PHP

I needed to extract a list of integers from a binary string. I was curious to know if PHP’s unpac...

Configuring PEAR on Windows

PEAR is the PHP Extension and Application Repository. Applications written in PHP often include r...

How do I use cURL in PHP on Windows?

To configure cURL to be able to run in PHP uncomment this line (remove the semi-colon) in the php...

Passing command-line arguments into PHP

Say you have a PHP script and you want to pass command-line arguments into the script, e.g. calli...

Using SSL socket in PHP under Windows

ProblemIf you try to open a socket (fsockopen, pfsockopen) with SSL in PHP 4.x under Windows, the...

PHP Resources

PHP is a web programming language that can be compiled into the Apache web server and with its pe...

PHP error reporting

Error levels name value description example 1 example 2 E_ERROR 1 Fatal run-time ...

PHPXref vs PHPDocumentor

IntroductionThere exists a wide array of PHP documentation tools on the web available free for do...

Create a PHP unit test case using SimpleTest

You can download SimpleTest at https://sourceforge.net/projects/simpletest/Suppose you have a PHP...

PHP Commenting Style

Any programmer can tell you that good commenting in your source code is an integral part of progr...

phpMyAdmin Security

phpMyAdmin Security Announcements

PHP

PHP eXtremePHP and http://pear.php.net/ These code bases will be useful in rolling the PHP out...

How can I make phpMyAdmin avoid sending MySQL passwords in the clear?

Although phpMyAdmin is an excellent tool for administering MySQL databases, you don’t want to exp...

PHP ODBC Setup Guide

Guide to setting up php-odbc for connection to Registrar database. Example for RedHat EL 5.Create...

Performance of array_shift and array_pop in PHP

We have confirmed that array_shift is much slower than array_pop in PHP.Code:<?// Create an ar...

JavaScript

Java

SQL

Git and Version Control

My webserver has died! How do I bring it back online in a hurry?

The obvious answer to this is to restore your backup onto a spare server. Or if it’s just a drive...

CSS and Web Design

Learning about CSS

CSS, or Cascading Style Sheets, have taken over the design end of websites, it seems. I’m not tha...

What sort of menus can I make with CSS?

There are practically no limits to what you can do with CSS, the trick is figuring out how to mak...

Top Ten Web Design Mistakes of 2005

By Jakob Nielsen:http://www.useit.com/alertbox/designmistakes.html

The importance of "!important" in CSS

Normally, CSS works by having the most recently-declared rule take precedence. However, this isn’...

CSS Design Concerns for IE6, IE7, and Firefox

Below is the beginning of (hopefully) an ongoing collection of design-related CSS issues concerni...

Forcing a page break with CSS

Here is a simple style sheet method for making a web page have page breaks, or form feeds in it.E...

What's a solid starting point (global reset) for a CSS file?

Browsers often have different ways of rendering the same element. For example we expect lists to...

UX Team ( UCLA Library - Digital Initiatives & Information Technology )

The UX Team is charged by the UCLA Library Digital Initiatives & Information Technology leade...

Hi, are there any UCLA style resources or style guides for websites?

Edit: 9/7/2012UCLA released Brand Guidelines 1.0 in March 2012. The document contains guidance on...

UX Resources

http://ux.stackexchange.com/https://www.reddit.com/r/userexperience/http://uxmyths.com/

What to do when CSS stylesheets refuse to apply

There are a number of common mistakes users make when writing CSS stylesheets that are difficult ...

Web Accessibility Resources

This article is a resource list to help Web developers design sites that are accessible to person...

Sass versus LESS

Quoting, "One of the hot new trends in web design is CSS pre-processed languages and there’s two ...

XML

Plone

Why is it important to use short names in Plone?

Short names become apart of the URL for Plone sites. Instead of an auto generated URL, you can c...

Plone CMS Resources

Plone is an Open-Source Content Management System built on Python and Zope.Departments at UCLA cu...

Plone 4 Tips and Tricks: Table of Contents

Tiny MCEAdding a color picker to the toolbar

How do I identify the stylesheets in Plone?

In Plone, you can list, debug, enable and disable and change the order of all the stylesheets by:...

How to get rid of icons in Plone

Plone’s default style calls for an assortment of eye candy to decorate links, list items, and var...

Importing and exporting a Plone site

Zope has a feature that allows you to export files, folders, and even Plone sites using the Impor...

Installing Plone v3.2 on Mac OS X 10.5

Installing Plone v3.2 on Mac OS X 10.5Instructions to install Plone v3.2 on Mac OS 10.5 Server an...

Remove highlighting of search terms in Plone

If you haven’t noticed already, go to Google and do a quick search for your Plone site. Then cli...

Is there a permission that allows a user edit content that s/he does not own in Plone?

For Plone 2.x, 3.xQuestion:I notice that for a piece of content, both the Owner and the Manager c...

Why can't I add a photo using AT Photo in Plone?

If you’ve used the product ATPhoto or ATPhoto Album in Plone 2.1, but now it is breaking in Plone...

Shibboleth For Plone

Updated as of June 25th, 2010UCLA Shibboleth 2.1+ Guides:Installation guideConfiguration guideFol...

How do I get started with designing new/existing layouts in Plone?

Taken from various posts on the Plone mailing list (http://www.nabble.com/Plone-f6741.html)Stan M...

Backing up and packing Plone's database file (Data.fs)

Backing up the databaseSee “Backup Plone” and “Backup and recover Data.fs in linux” in Plone’s do...

Zope/Plone usage statistics

Since a Zope access log (Z2.log) has the same format as an Apache access log, Apache log analyzer...

Should I use plonecustom.css when changing the layout for my Plone site

As stated in plonecustom.css, if you are going to be making heavy modifications to your layout, y...

Changing number of displayed news/events in Plone portlets

Find out which version of Plone you are running. Versions prior to 2.5 keep their portlet code in...

Search across multiple Plone instances

If you have multiple Plone instances and you would like the search feature to search across the i...

How can I undo changes in Plone?

Plone has a feature that lets you undo changes you make to Plone-managed pages and other items. T...

How do I remove the icons in Plone?

This will allow you to remove the navigation icons that appear in Plone’s navigation portlet. go ...

How do I change the header image in Plone?

Enter the the Zope interface by adding /manage to the end of your URL. Go to the folder ‘/portal_...

Why are my excluded Plone items still showing up in navigation?

Plone comes with a useful way to hide certain items from the navigation menu. On the page’s prope...

Plone and Zope Screencasts

Collection of screencasts demoing Plone functionality and ease of development in Zope 3.

How to add new slots in Plone

This document describes how to add an additional portlet slot to the two that exist already (left...

Restricting Plone portlets to show up only on certain pages

Sometimes you may want certain Plone portlets to only show up on certain pages. This guide will w...

Can Plone display content from another site inside it?

Yes, there is a product that will do exactly this. It’s called windowZ. Just use the quick instal...

How can a rotating banner image be done in Plone?

The first step is to create a Python script that will serve up the image you want. This article a...

How do I make dynamic dropdown/pullup menus in Plone?

There is a Plone Drop Down Menu product (also called qPloneDropDownMenu) that creates navigation ...

How do I enable the advanced mode of the TinyMCE editor for Plone?

The TinyMCE editor is a feature-rich WYSIWYG editor for Plone, similar to Kupu. However, many of ...

Why aren't my font colors / scripts / Flash / Java applets showing up in my Plone site?

By default, Plone employs an HTML-filtering system when it transforms Plone documents into marked...

Importing existing HTML content into Plone

I have an existing site consisting of HTML files, folders and images. Now I’d like to manage that...

How do you enable short names in Plone?

By default Plone 2.1.x generates short names for you based on the title of your document, folder,...

Plone 4 Tips and Tricks

Back to Table of ContentsTiny MCEAdding a color picker to the toolbarPlone 4 comes installed with...

Shibboleth

Lucene

Apache log shell scripts

Return count of timestamps with most error logs. A couple years ago an app error_log reported ab...

What is Ajax web programming?

AJAX – (Asynchronous Javascript and XML) is Javascript that sends XML to a web server which then ...

Programming articles to read

This collection of programming articles to read is highly subjective, so feel free to add your ow...

What is AOL Server and ACS?

AOLserver is America Online’s Open-Source web server. Originally built by NaviSoft, before it was...

ColdFusion

ColdFusion is the original and most common implementation of a tag and ECMAScript-based programmi...

Python Resources

Python is an object-oriented programming language where indenting is important. It is used in we...

.NET Programming

Interested in doing .NET development? The resources below are good places to start: http://msdn.m...

What is Haskell?

I just heard about this functional programming language named Haskell on this Ruby on Rails Podca...

What is HTML and how can I learn it?

HTML, or HyperText Markup Language, is the basis for all web pages. Written in a text editor on o...

Mapping Resources

Some amazing things are happening with Google Map API and now Yahoo Map API. The Best Map-Making ...

Perl resources

Perl is an extremely powerful, free and popular programming language that runs on many different ...

Programming Securely

Article on Validating Input from IBM’s Best Practices series Top Ten Web Security Flaws – OWASP ...

WSRP

WSRP Web Services for Remote Portals http://xml.coverpages.org/wsrp.html Overview of WSRP and...

XML and Python

XML and Python The Zope web application framework is a mature high level framework written in ...

I am trying to develop an application using AJAX. Where do I find out more information?

You can find a quick AJAX primer at:http://mi6.ais.ucla.edu/devbriefs/ajax-primer

What are Favelets / How can I modify my browser on the fly?

Favelets, or bookmarklets, are a quick and easy way to add functionality to your browsing experie...

Why URLs shouldn't change

When websites get redesigned, updated or moved, the biggest mistake, in my opinion, is changing t...

How to get rounded corners on web pages

The traditional way to get pretty-looking corners for all your tables (and divs, and menus, and w...

a:visited property not working in Firefox, but working in IE

When the a:visited property is customized to use a certain property (i.e., change its color when ...

The Document Object Model (DOM) and what it's good for

If you develop for the web, you may have heard the term “Document Object Model” or “DOM” thrown a...

Setting REMOTE_USER Apache variable in scripts

REMOTE_USER is an Apache server variable that is sometimes set on web pages. It is useful for ide...

What are Microformats?

Microformats are an unofficial solution to creating small, simple, standardized solutions based o...

What are some tips for making solid web forms?

Creating a form is arguably the most annoying pure (x)HTML task. This article provides resource...

Technical Cheat Sheets

This technical cheat sheet roundup by smashing magazine. has cheat sheets for Ajax, Apache, ASCI...

How to prevent "hotlinking" of your images on a web site

From the tutorial:“Hotlinking” is a form of bandwidth theft. Basically, when creating a web page ...

How do I find what Perl modules are installed on my system?

Assuming you have perldoc installed, simply typing perldoc perllocal will give you a nicely-forma...

In a web application, how can I flash an image after a user presses a button?

We needed the ability to display an image for only a quarter of a second. This can be done using...

CAPTCHA alternatives

If your web forms are getting spammed, and CAPTCHA isn’t a good solution, here are some possible ...

How to find broken links in your web site

There is a really great tool that is free to use that can check your web site for broken links. I...

How can I get standard cross browser font-sizes?

A short while ago I was overjoyed to rediscover an article that I lost track of long ago. I read ...

What's an easy way to set up a WAMP test environment?

Many popular Content Management Systems (CMS) run in a php/mysql environment. Their dynamic natu...

On a UNIX / Linux system, how do I view which shared libraries a program needs?

To get a list of shared libraries that a program needs:ldd /path/to/programThis will give you a l...

Security Testing your Apache Configuration with Nikto

Is your Apache configuration secure? This is a helpful article to help you find out.http://www.h...

How do I easily install the software for a LAMP server

XAMPPXAMPP is an easy to install Apache Distribution for Linux and Windows. The package includes ...

SPML

SPML Service Provisioning Markup Language http://www.openspml.org _Mentioned 9 Jul 2003 by Alber...

pubcookie

pubcookie open-source software for intra-institutional web authentication http://www.pubcookie.org/

IMS

IMS The IMS Abstract Framework has been published at http://www.imsglobal.org/af/index.cfm The A...

Hibernate

Hibernate [Criteria Queries in Hibernate:http://today.java.net/pub/a/today/2004/07/19/Hibernate.h...

eduPerson

eduPerson is an LDAP object class that includes widely-used person attributes in higher education...

How do I count the number of times a word or phrase occurs in a string?

Assuming that you don’t have a built-in function that does this in one shot…Here is a trick for q...

Django

What is Django?According to the Django website “Django is a high-level Python Web framework that ...

How do I use Perl to create an animated gif from a large number of images?

Install this Perl module using cpan (or your favorite method for installing Perl modules):Image::...

How do I force an image to reload on a web page?

It’s easy to make an image reload just by refreshing a page in your browser. Reloading just the i...

Web Development Standards - Best Practices

For better or for worse, everyone developing web sites at UCLA abides by different rules. For tho...

Including sites in main UCLA search engine

The Autonomy Search Engine used by the Vignette Portal Project spiders all campus websites starti...

One-stop Ruby on Rails packages

You want Ruby on Rails, and you want it now. The trouble is, you don’t have Apache or MySQL on yo...

url

A URL, short for Uniform Resource Locator, is like a telephone number in that it gives a unique w...

SSL Configuration Generator

This Mozilla tool helps sysadmins properly configure openSSL for various platforms.https://mozill...

iOS Programming

Apple iOS Development Apple Developer Tutorials Materials for a Stanford course on developing...

Apache 2 Virtual Hosts File

To find the home directory (DocumentRoot) of a virtual host’s directory on an Apache 2 server, us...

How to provide your own customized WAYF page

It is annoying to have a such long list in InCommon, but your users are limited to just several s...

Building an OpenSocial Gadget with GWT and Hosting on Your Website

For this tutorial I use the following parameters:$your_repository = location of your Subversion r...

Calling makeRequest in GWT to Get External Data for an Opensocial Gadget and Creating an Overlay

For this tutorial I use the following parameters:$your_namespace_dots = the namespace of your uni...

Passing Parameters to an OpenSocial Gadget Hosted in Regular HTML

Gadget parameters are UserPref’s in the gadget specification. When a user adds a gadget to an Ope...

Has anyone tried CouchDB?

Has anyone tried CouchDB? It’s a document database. 10 Reasons why CouchDB is better than MysqlDi...

"Requested URL not found" when using Apache with mod_alias and mod_rewrite

Problem: My web server is Apache. When I try to load a web page, I get an error message that says...

Suspendable Requests for LAMP systems?

The traditional way of handling dynamically-generated Web content is to have the Web server use m...

Debugging Web Applications with Selenium

SeleniumSelenium is an open-source web application testing system that records and generates test...

ENVI 4.6 and 4.6.1 Java problems

ENVI 4.6/4.6.1 does not run.This problem occurs both on upgrades from older versions of ENVI as w...

ENVI 4.6 or 4.6.1 Help does not work

Most commonly seen on a Windows x64 machine running Java 6 64-bit— ENVI and IDL (64-bit) both loa...

Mobile Web Resources

Resources for developing mobile web applications.Introduction to the Mobile Web by MIThttps://spa...

Provisioning and Managing Windows Clients

For those looking for ways to deploy and efficiently manage the full life cycle of Windows client...

Do you know of anyone at UCLA using Drupal right now?

Yes. Me amongst others.Drupal currently supports the Semel Institute www.semel.ucla.edu, and uses...

Scope of environment variables in shells and shell scripts

A environment variable defined in a shell (or a shell script) stays defined everywhere, including...

Free/open source information retrieval libraries

What are they and why using oneInformation retrieval libraries are software libraries that provid...

How to create a Python class from a SOAP WSDL

Using Python and SOAP to attach to a Web ServiceYou can create a Python class from a SOAP WSDL in...

Passing command-line argument into a DOS (including Windows) batch file

You can use these variables in a batch file:%0 – the batch file’s name%1 – the 1st argument%2 – t...

Google Sitemap Generator

According to Wikipedia, "Sitemaps can improve search engine optimization of a site by making sure...

Code Beautifiers And Formatters

“Well-documented and readable source code is essential for every collaborative project. Logically...

Configuring MediaWiki to Search for Three Letter Words

By default MediaWiki uses MySQL and the default FULLTEXT indexing uses built-in stop words and a ...

Configuring Short URLs in MediaWiki

Short URLs dispense with the index.php/ part of MediaWiki page URLs. If the MediaWiki instance is...

csh and single quotes

In csh, using quotes in a quoted string can be tricky, especially if the string contains both sin...

Python and SOAP

Python isn’t especially known for its support of soap functionality, but that’s usually not a pro...

What is SQLAlchemy

SQLAlchemy is an open-source Python Database toolkit, which provides the following functionality:...

About IAMUCLA

IAMUCLA is the new name for the suite of identity management related projects and services, inclu...

shrinking text

This web design tip I just read is ingenious and priceless, if we can just get our clients to ac...

Google Chart API

“The Google Chart API returns a PNG-format image in response to a URL. Several types of image can...

Simplifying web-based processes with CoScripter

“IBM has a very cool Firefox-only plugin called CoScriptor which is sort of a macro recorder for...

Manual setting of filename and type in a dynamically-generated web page

Problem: Suppose you have a CGI script (PHP or otherwise), say genimage.cgi, that generates an im...

What characters can go into a valid HTTP URL?

Section 5 of RFC 1738 – Uniform Resource Locators specifies the format of an HTTP URL:httpurl ...

Find Google Stats about your website

There is useful Google service for webmasters at http://www.google.com/webmasters/tools/. It giv...

Google Font API

Introducing Google Font API & Google Font Directory – Google Code Blog http://code.google.co...

Setting up XAMPP for email feature development

Overview: XAMPP contains a package called Mercury which allows you to set up a local SMTP server ...

Sass Variables for UCLA Color Palette

UCLA color palettes converted to Sass and posted as gists on github. UCLA Color Palette c. 2013 U...

Steps for Cloning a Repository in SourceTree

(Note: These are the steps for a Windows installation of SourceTree. Not sure if there are differ...

web scraping tools

Web scraping tools, services, and plugins: a comprehensive listRuby project called Upton – haven’...

Mac OS X - Local Web Development Environment Setup

My name is Alex Podobas and I’m a member of the UCLA IT Security Office. My IT security work at U...

robots.txt

Sometimes you have sections of your website that you don’t want search engines to index. That’s w...

Cross Browser Testing

One of the problems in building a website is testing how it works on different browsers. I know t...

has anyone tried wolfram programming cloud?

Has anyone tried the Wolfram Programming Cloud? It “is an application of the Wolfram Language—spe...

ELK Stack

The ELK stack is an open source way to consolidate various logs gathered by logstash to a real-ti...

Top Programming Languages

Often people in the developer world have the question, “What is the most popular programming lang...

How to Easily Recognize Web Colors from RGB Codes

This is a very useful explanation of RGB (Red, Green, Blue) codes that are used all over the Inte...

DevOps Resources

DevOps (“development” and “operations”) is a software development method that stresses communicat...

Microsoft Test Lab Guides

Quoting, “Test Lab Guides (TLGs) allow you to get valuable hands-on experience with new products ...

Regular Expressions

Regular Expressions are how you match text and patterns of text in a programming language, and on...

Regular expression use cases

This article is meant to be a companion to the regular expressions resources article. Instead of ...

Microsoft VHD Test Drive Program

( Quoting ) " The Microsoft Virtual Hard Disk (VHD) format is the common virtualization file form...

html entity conversion website

If you’ve ever inadvertently pasted a block of html into a GUI text editor and ended up with a se...

Google Code Playground

There is a feature called the Google Code PlaygroundIt is an API demo site that shows the possibl...

Is There Such a Thing as Free Software? The Pros and Cons of Open-Source Software

A helpful overview of Open Source Software is available in Educuase Quarterly.Today’s higher educ...

Authentication via Proxy

By: Yusuf Bhabhrawala, Project Manager, UCLA Center for Digital Humanities (CDH)IntroductionThis ...

Intel chipset (BIOS) RAID migration

Users of Intel-based systems with Intel chipsets may encounter some systems where RAID is enabled...

SSL Certificate and Subject Alternative Names (SAN)

This article assumes you are using InCommon-Comodo Certificate Service, and that you intend to us...

Cloud Computing

If It’s in the Cloud, Get It on Paper: Cloud Computing Contract Issues by Thomas J. Trappler in E...

Accessibility Demonstration Videos

These videos by the National Foundation for the Blind are helpful in understanding where web apps...

Find Peak Hours of Your Websites with Google Analytics

Here’s a really simple way to find out the peak hours of your website if you plan on upgrading or...

In-Common SSL Cert Installation on Apache 2.2

The steps towards obtaining a free cert for ucla based webservers: Generate a CSR with a 2048-bit...

Migrate to a virtual Linux environment with Clonezilla

from IBM DeveloperWorksHow to convert a physical server to a virtual one using the open source to...

Alternatives to Google Analytics

7 Alternatives to Google Analytics – Jan. 16, 2012 Search Engine Journal http://piwik.org/ – ope...

Stanford Self-Help Web Design Resources

Stanford Self-help Web Design Resources http://itservices.stanford.edu/service/web/design Templat...

User Testing Tools

Remote user testing apps: http://www.usertesting.com/ http://userfly.com/ http://www.loop11.com/ ...

Deploying FileVault2

Best Practices for Deploying FileVault 2 http://training.apple.com/pdf/WP_FileVault2.pdfWhite pap...

How to make a Favicon.ico

You may have noticed in your web browser that some web sites have a little icon in the address ba...

What kind of test can SimpleTest do?

SimpleTest’s unit tester is designed to test PHP code. Also its web browser component (think of i...

Web Services

Web Services – examples and description W3C Web Services Activity http://www.w3.org/2002/ws/ ...

Eclipse

Eclipse, for most people who use it, is an Integrated Development Environments (IDE). Although it...

Web Developer and Designer Resources

Links UCLA Campus Web Publishers Group 4096 Color Wheel – Pretty useful tool to find web-safe/web...

Who is using Ruby on Rails at UCLA?

Here is a voluntary list of those using Ruby on Rails at UCLA. Hopefully people will add summary ...

Web Services Resources for Programmers

Interested in doing web service development? Here are some useful links: Top Ten FAQs for Web Ser...

Where can I find other programmers at UCLA?

Staff and student programmers can list themselves and their areas of expertise and interest in th...

What is your favorite techie interview question?

I have been told this is a classic by an interviewee: What is the difference between TCP and UDP?...

As a UCLA programmer, where do I get data about electronic reserves?

The UCLA Course Management Consortium has worked with the UCLA Library staff to document how to ...

JSR223 Scripting Pages in Java Web Applications

JSR223 Scripting Pages in Java Web Applications (Jose) Below are some links on Java scripting,...

Ruby on Rails Resources

Ruby is a Japanese object-oriented scripting language that is meant to make programming fun. Ruby...

OpenACS (Open Community Architecture System)

OpenACS – (Open Architecture Community System) http://openacs.org/ is a toolkit for building sca...

SAML

SAML Security Assertion Markup Language http://www.oasis-open.org/committees/tc_home.php?wg_abbr...

SOAP

“SOAP, originally defined as Simple Object Access Protocol, is a protocol specification for excha...

WebDAV

WebDAV http://www.webdav.org For listings of open source and commercial clients, see: http://w...

WSDL

WSDL Web Services Description Language which allows programs to read the description and automat...

Usability Testing

Usability testing is something that few programmers or web designers do but it can drastically im...

REBOL Resources

REBOL is a messaging language for distributed Internet applications that run across all devices. ...

XACML

XACML (Extensible Access Control Markup Language) spec http://www.oasis-open.org/committees/xa...

What is code generation?

Code generation tools seem more relevant as software demands increase. A nice vision might be to ...

What can I use to do load testing or functional testing of my web server?

Here are some links to open source web server load and functional testing programs or frameworks:...

What is Identity 2.0 and as a web developer, why do I care?

I’m not really sure what Identity 2.0 is but here are some very interesting slide show talks abou...

Does UCLA have free access to O'Reilly and Associates programming books online?

Yes, luckily enough for UCLA programmers, the Library maintains a subscription to O’Reilly and As...

Where can I find free web programming tutorials and sample code?

The first place to start for free web programming tutorials and sample code is http://www.w3schoo...