167 items tagged “webdevelopment”
Does creating a zip file with php use more RAM then CPU? Or vise versa? Also, is it faster to use a system call, or the php zip library? Exec (zip filename.zip) vs. $zip =new ZipArchive().
You can find out the answer yourself using a very simple benchmark—just call time() before and after each option and loop them a few thousand times to calculate an average.[... 74 words]
The HTML and CSS for large, professional websites is usually written by hand, in a text editor. Tools like Dreamweaver are avoided by most skilled web developers.[... 69 words]
I have an idea for a website, with an idea for eventually having cashflow out of it? However, my skills are insufficient to build it and I have no money at all to hire someone—what’s my best starting point?
You either need to learn some skills, or you need to earn some money. Sadly, having a good idea is not enough—you need to be able to execute it as well.[... 80 words]
Perl. Lots of Perl. There was a site called Matt’s Script Archive which was full of terribly written Perl scripts for things like hit counters and form emailers and guest books. It was very popular.[... 59 words]
Yes: use percentage measurements for your layout components. That way you can build a website that works on a much larger range of screen sizes. You can combine this approach with media queries—for example, you could specify that your site has a 25% wide navigation menu and a 75% wide content area on devices that are wider than 400px, but any smaller than that and it collapses to a single column layout with the menu hidden and accessible only through a menu bar icon.[... 102 words]
Build something and put it on the internet. Make sure you have an easy way to deploy new versions (Heroku is a good bet if you don’t want to figure out Fabric). Pick a project that’s useful to you—a simple blogging engine is often a good bet, or maybe something that aggregates together your posts from Twitter and Instagram and so on. Or come up with something a bit more creative![... 109 words]
I’d describe it as a subset of software engineering that deals with issues relating to the web—web application development, web protocols, browsers and so on.[... 41 words]
First, make sure you know your way around a command automation tool, such as Fabric (Python) or Capistrano (Ruby).[... 63 words]
You’ll have a much easier time of it if you use paths that start at the root rather than relative paths, eg <a href=“/foo/bar/”> instead of <a href=“../bar/”>[... 46 words]
This is a surprisingly complicated question. The first thing you might want to ask yourself is “what’s a country”—how do you deal with places on this List of states with limited recognition for example?[... 182 words]
What’s the best platform I can use for a food delivery startup? Shopify? Or should I instead learn to code?
Don’t build an e-commerce system as your first programming project—I know engineers with many years of experience who wouldn’t trust themselves to write code that handles money.[... 103 words]
What are the best web design and web development conferences/ meetups in Central & Eastern Europe (2013)?
We have a list of Web Design conferences and events in Central and Eastern Europe on Lanyrd—you might find our full list of Conferences in Central and Eastern Europe useful as well.[... 94 words]
There isn’t really enough of memcached to justify a whole book—it’s a pretty straight-forward API.[... 100 words]
Offer to volunteer at conferences. If accepted, you’ll get in for free and you’ll get to meet loads of people (including spending time with the speakers)—in exchange for a full days work manning desks, finding speakers in time for their talks, giving people directions and generally helping organise and clean things up.[... 104 words]
What are the strategies for a front end developer to keep up to date with the emerging technologies?
Step one: find developers who you respect and subscribe to their blogs, follow them on Twitter/Google+/etc and try to understand what they are talking about and what they think is exciting.[... 139 words]
You can’t. The best you can do is have Django periodically poll MySQL to see if anything has changed (maybe with a custom management command run by cron)—having a TIMESTAMP field on every table which will be automatically set to the current time when a record is inserted will help you spot things that have changed.[... 80 words]
General Assembly in Clerkenwell run several intensive courses relating to front-end web development that look very good.[... 32 words]
HTTP 1.x will likely never be completely replaced, but there is ongoing work at the moment to define HTTP 2.0. The first draft of this was released in November and is based on Google’s SPDY protocol, which is already widely deployed in Google Chrome and Google’s web properties (other browsers have experimented with support for SPDY as well): http://en.m.wikipedia.org/wiki/H...[... 122 words]
Unless I had a very good reason to use something else (a pure websocket/real-time collaboration app perhaps) I’d go with stock Django on PostgreSQL and maybe a bit of Redis. Simple, powerful, stable and works reliably.[... 50 words]
There are a bunch of options for communicating between different languages, but these days the simplest is definitely JSON—it maps directly to common data structures in PHP, Python, Ruby and so on. Treat it as your common interchange format and you can’t go far wrong. It’s very easy to build simple internal web services on top of JSON.[... 109 words]
How can some really large services (like Dropbox) afford to use Python as a primary language, if it’s one to two orders of magnitude slower than other, compiled languages?
Because raw language speed often doesn’t matter that much. In the case if Dropbox the client software spends most of its time waiting for bits to load from the network or from disk. Most large websites spend their time waiting for the database. You can’t speed up network or disk performance by using a faster language.[... 91 words]
Build real websites. Find a project and work on it. A personal blog is a great project as it can be simple to start with and get more complex over time.[... 44 words]
This isn’t really a Django-specific question—the answer would be the same no matter what server-side tech you use.[... 121 words]
We have a collection of 27 videos of conference talks that cover Redis on Lanyrd, gathered by our community: Redis Videos | Lanyrd[... 74 words]
The best way to learn python in my opinion is using the interactive prompt. Install ipython (a massive improvement on the standard python shell) and use it to interactively solve some simple tasks—things like downloading a CSV file from the web using the urllib library, parsing it with the csv module, then poking around in the data using python list comprehensions and saving some of the results out to a JSON file.[... 95 words]
It’s not very exciting, but CSS will let you set different styles for visited vs unvisited links and the technique has worked reliably since the mid 1990s.[... 44 words]