Jack @ ASP.NET

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘content’

Tips for working with template inheritance in Django

  1. If you use {% extends %} in a template, it must be the first template tag in that template. Template inheritance won’t work, otherwise.
  2. More {% block %} tags in your base templates are better. Remember, child templates don’t have to define all parent blocks, so you can fill in reasonable defaults in a number of blocks, then only define the ones you need later. It’s better to have more hooks than fewer hooks.
  3. If you find yourself duplicating content in a number of templates, it probably means you should move that content to a {% block %} in a parent template.
  4. If you need to get the content of the block from the parent template, the {{ block.super }} variable will do the trick. This is useful if you want to add to the contents of a parent block instead of completely overriding it. Data inserted using {{ block.super }} will not be automatically escaped (see the next section), since
    it was already escaped, if necessary, in the parent template.
  5. For extra readability, you can optionally give a name to your {% endblock %} tag. For example:
    {% block content %}

    {% endblock content %}
    In larger templates, this technique helps you see which {% block %} tags are being closed.

Adobe Products

Here are several products from Adobe, which are quite useful to internet users.

  • Adobe TimeTracker: It is another shot at basecamp, it has a standard Adobe user interface, it can easily integrated into a project tracking system, financial data system.
  • Adobe Helium: A tool that helps designers to create animations, widgets and interactive content using HTML5 and CSS3. It also provide the web framework, such as the jQuery, and help you build your interactive content that will integrate seamlessly into your app or website. Is that interesting?
  • Adobe Maestro: It has 100GB of storage, and support all file types, including audio and video. When there are changes or new files are created, it will syncs automatically.
  • Adobe Business Catalyst: it is a one stop shop, provides the ability to sue HTML and CSS to design and customize the dev environment. You can customize the web forms, data capture and admin presentation. Your subscription is based on affordable.
  • Adobe Drive 2: it can access to Adobe’s enterprise deployment tools, and it also provide the IUM(Internal Update Management).

There are also more adobe web products, and you can search on internet.

Top 5 of my favorite free Windows Live Writer (WLW) plugin

I like free one, so I only list top 5 of my favorite ones.

  1. Twitter Update: (by Krishnan)
  2. Allow you to add up to 3 twitter accounts and tweet according to the blog you post.
    In the options page enter default Twitter account user name and password, which will be used when there is no matching twitter account for a blog is found.
    Add blog home page Urls in the text box (seperated by | if you have more than one) and enter the twitter account details of the corresponding twitter account

  3. Blog This for Firefox:Adds a button to Firefox which starts a new Windows Live Writer blog post prepopulated with content and title from the current web page. Blog the whole page, or just selected snippets. Interacts with other registered plugins to parse and structure web content where appropriate. Blog quickly when you find something of interest on the web.
  4. Syntax Higlighter for WLW: Add smart content editor syntax higlighter 2.0 support for Windows Live Writer.
  5. Facebook Live Writer Plugin: Prompts you to share a link on Facebook whenever you publish a new post.
  6. Tag Generator: A tool to automatically generate tags based on the content of your post. Supports Technorati, WordPress and Blogger