Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Daniel

Members
  • Joined

  • Last visited

  1. Hey nickyoung! Great feedback - thanks! As to your comments: General Idea: The idea is still fleshing out. Right now, it is definitely not ready to be a self-hosted application. However, in the future it may or may not - we'll see how it goes. My second choice is whether I should gear it towards development or just general task / project management. Right now, the example on the homepage shouts development but maybe it shouldn't. Design: Right on. It definitely needs a logo and more in terms of general design. Again, this was really an experiment for me and we'll see how it goes. Usability: All great advice. I'll be working out more where I want it to go. Thanks again!
  2. All comments are appreciated. Usability, design, features, general idea, etc.
  3. Tired of trying to find a system that fit my needs, I decided to build one for myself. What emerged was a CodeIgniter-powered application called Pipelines. The focus of the project was to provide a simple / quick way without much visual clutter to see what needs to be done now in up to 4 contexts of your life. http://pipelines.nexterous.com Any comments, thoughts?
  4. I stand corrected then. Haven't worked much with Expression Engine. I just mean from your experience with the CMS's that you have tried..
  5. Hello everyone - I was doing a bit of research for my next project. What do you think are the top missing features from every CMS / blogging platform? I'll start it off: 1. A quick way to post status updates
  6. Daniel replied to Daniel's topic in Server Side
    Does anyone know of any good articles to go into more advanced CodeIgniter techniques?
  7. Thank you bluedreamer for the great feedback. I'm thinking of modeling it sort of after 37signals (www.37signals.com) + development freelancing. Any other suggestions as well or business tips specifically for the freelancing?
  8. Try turning on error reporting all the way to see if maybe there is a PHP error. Just add <?php error_reporting(E_ALL); ?> to the top of the page and then post the error here if there is one.
  9. Hello everyone! I recently had my first official (non-personal) PHP development project (a modification of a system) and I find that it is something I want to pursue. Therefore, I want to restructure my personal website into a website for my freelancing. However, I also want to release products as well (ex. API's, plugins, etc, maybe even a full web application) as well as hold some "assets" such as a student productivity blog and web development articles. My questions: Am I being too broad in focus here? Does do different areas complement each other (freelance development, products, assets)? How should I structure my site (in terms of subdomains / subfolders)? Any suggestions - in terms of business?
  10. Daniel posted a topic in Server Side
    Wondering if anyone else has had much experience with the PHP Framework CodeIgniter? Experiences? Examples? Information? Applications?
  11. Hey guys - sorry about the 1024 width. It turns out that I had more than one min-width CSS property and that is why the scrollbar is appearing (I also took down the image for now). Didn't know they are from Mac: http://jonas.seph.ws/stuff/drf_fp.png What should I put in that column instead of featured projects?
  12. It should not be scrolling now. For some reason, it didn't save my edit last time.
  13. Thank you for your comments guys. I'll look into the design again for something I can add. Also, fixed the horizontal scrollbar (I had set a minimum-width). It should be OK now.
  14. Thank you Meshach. I released it today so I hadn't yet validated all the errors. I will be doing so later today or this week. EDIT: All errors have been fixed on the homepage.
  15. Introduction When using PHP generated pages, there is one common problem: it is dynamically loaded using set variables. For example, if you want to read the latest blog entry on a blog with any URL structure, you will find http://arandomblog.com/?entry=1. This structure is easy to use but when it comes to search engine and general public use, you’ll find that it will not have many benefits. Instead, you’ll often find http://arandomblog/randomentry/. Why? It looks more professional, it is more usable, and it will give you keyword placement. There is an easy way to do so using .htaccess mod_rewrite. However, for whatever reasons, be it free hosting or server limitations, you might not have access to the .htaccess file or may not want to. I do recommend using mod_rewrite for this task if at all possible. I will not be discussing it further here as it is outside the scope of this article. Moving on… Test your Server If you want to still have custom URL structures without .htaccess, one approach you can use is through PHP. On some servers, is is possible to have a structure such as http://www.nexterous.com/index.php/new-nexterouscom/. Notice the key component of this structure; this is the the blog.php. As long as you have a valid file and you do not mind that little setback, you are good to move on. Before we actually begin, please test to make sure your server supports this method. Upload a PHP file that just echoes ‘Hello World’ and go to it in the URL. When you input the URL, add to it a few divisions. An example URL would be http://www.mysite.com/mypage.php/1/hello. If there is no error, you are good to go. Breaking Down the URL For this article, the following structure will be used (siteurl/blog.php/entryid/entryslug). To begin, you want to break up the URL into parts so that you can analyze each part and continue. Using PHP’s parse_url function, you get the following code: $url = parse_url($_SERVER['PATH_INFO'], PHP_URL_PATH); $url = explode(’/', $url); The above code is relatively simple. It parses the URL using only the entry path (/entryid/entryslug) and then divides it into parts separated by the dashes. The variable $url is an array with at least 3 parts: a black row, a row with the an integer, and a row with the slug of the title. Now having that data, you can call the entry from the database using the ID. We want to add one more effect. SEO and Titles Now, let’s say that all is working fine. You grab the ID from the $url array and call the entry and it loads perfectly. However, for some reason, either you entered the URL wrong into the HTML or your visitor switched the URL. Now the title is changed. For search engines and consistency, you don’t want that to happen. What you do in this case is you have a set standard for creating the slug. After you parse the URL using the code above, you would create the slug on the spot for that entry using your standard and then compare that to the slug you received in the URL. If they are not equal, you would do a header redirect in PHP where the slug you created on the spot would be used to redirect. Let me show you code directly from my site. # Get the latest blog entry $entry = $api->get_post($entryid); # Auto-correct URL if($urltitle != $entry['rawslug']){ $header = "Location: {$entry['slug']}"; header($header); exit(); } First, I get all the post information for the entry using my custom API (included in the API is the slug creating function). I then do a comparison to check if the $urltitle (set from the parse url code) isn’t equal to the $entry['rawslug'] created from my API. If that is true, then it redirects to the $entry['slug'] created from the API (which is just the full URL). This process is very quick and you will see very limited, if any, performance slow from this process. Summary To summarize, what we did in this article was to set a custom URL structure using PHP. This will benefit those who cannot use .htaccess either through server limitations or difficulty. We first parse the URL and explode it into an array. Using the array data, we then set different variables from it. To keep URL’s consistent, we compare the slug entered in the URL with that of the database. If it was not equal, we would redirect it to the correct URL. Posted Originally posted on my site: http://www.nexterous.com/articles/php-custom-url/ Written for the release of version 3 of my site. More articles on web development, PHP and coding will follow soon.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.