Jump to content
Killersites Community

dianikol85

Member
  • Content Count

    123
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dianikol85

  • Rank
    Advanced Member
  1. dianikol85

    Google maps api tutorial

    Hello to the forum! Do you suggest me any video tuts about google map api? In google the docs are quite confusing for beginners. Thank you in advance.
  2. dianikol85

    OOP PHP

    Hi to al! Let's say we have an object $object and its properties are unknown. But i do have an array $oeject_properties which values are the object's properties. I know i can't access a property like this: $object->$oeject_properties['property_name']. How i should do it???
  3. dianikol85

    Drupal 7 AJAX forms

    Hi guys. I need a Drupal guy here I am building a website for a client using Drupal 7. One feature of this site is a link at the top of the browser which when i click it a dialog box pops up with a form in it. The form comes in the dialog using AJAX. Also the form submits using AJAX. The page where the form is called is here. Try to submit the form to see the AJAX thing. It works ok. But when i load the form in the dialog form it loses the ajax submit functionality. I know this is happening because new content comes in the page and it needs to rebind the AJAX action. However drupal uses a form api to builds forms and there is a backend mechanism for AJAX in the forms so i only i need to write the php side of the ajax process. The problem is that i can't find out how to rebind the ajax submit when i load a form using ajax. In the above link you can see what i mean. If i wasn't clear enough please ask me to explain more.
  4. dianikol85

    Preferred CMS

    I recently started to use Drupal. It has some learning curve but it is very flexible for programmers providing a huge API and a lot of great modules. I was too in this dilemma about building my own cms from scratch. Not any more.. There is no way that your CMS can compete drupal or wordpress even if you are great developer. Anyway i think drupal is a great choice if you want to build custom things for your clients. It provides great API as i said before with build in validation engine and stuff like that. Plus you will have a huge community behind you which means great support. Each CMS out there has its logic to build a web site or a plugin and you have to learn that logic. That is a good thing in my opinion because you will learn the "right way" to make things for the cms you will choose and that means your project is going to work because that logic is already tested by the guys who made it If you want anyway to build a cms from scratch consider to build it using a php framework like codeigniter or zend or cahephp because they also provide API so you don't have to worry about basic stuff like validation and your code is going to be much cleaner and robust otherwise there is a big chance that you'll end up with a messy code if you use raw php...
  5. dianikol85

    Drupal 7 site

    A very interesting diagram that i think it tells the truth about the learning curve of drupal is the following pic For me at least Drupal is the most hardcore thing so far as a web programmer. At first i really wanted to quit. . But when you complete a site with it , then you own great power
  6. dianikol85

    Drupal 7 site

    Drupal provides you with some APIs. They have a term that is called : hooks. Hooks are functions that lets your custom module interact with the core of the drupal. In other words, in order to drupal recognize your module you must use these hooks functions. Also i want to mention that every functionality drupal provides you such as login, basic page, article and so on are all modules which are made with these APIs. In the core code base they use OOP in some places But they STRONGLY recommend never hack the core.NEVER! Instead, if you want to override things that by default drupal does use these APIs. Everyone who use Drupal really should learn these stuff. It will give you a lot of power
  7. dianikol85

    Drupal 7 site

    As far as i can see Drupal has its own special view of how a cms should be. It looks more like a framework. It has some very difficult (at least for me) topics to learn which frustrates me such as build a module and there aren't many clean tutorials out there.. It can be very chaotic... Drupal 7 improves its UI a lot. Now is much more user friendly than the 6th version. Just for the history Drupal uses procedural architecture at least for making modules. The theming process was pretty straightforward although i had to read a lot for some specific areas like the slideshow in the front page. I'll tell you how i did this if you need it Thanks
  8. dianikol85

    Drupal 7 site

    Hi to all!! I recently (almost) completed my first website based on Drupal 7. I spent 3 days to find out how the theming procedure works. It's from html to Drupal 7 theme! It's not actually for a client. Just for learning purposes but i think i could use it for a client. I want your opinion about it and feel free to ask me about the modules i used. I tried to use a decent amount of modules to see how Drupal handles it and stuff like that. Drupal 7 website I'm definitely going to use drupal from now on. It's really flexible and provide several APIs to extend drupal's functionality as you wish although it takes a lot of time to learn this advanced topic about creating custom modules. Thank you.
  9. dianikol85

    Joomla or WordPress?

    Thank you for pointing out this Andrea. i guess i am stupid.... Anyway there are hundreds and hundreds results if you just google "wordpress vs joomla"......
  10. dianikol85

    Drupal

    I'm not going to use drupal for a project yet since i am still learning it. I need 3-4 months i guess to learn things like how to create modules and stuff. I don't want to use any cms without knowing how to extend it and being comfortable with it. These are some modules that I think is necessary for every drupal site - TOKEN - PATHAUTO - MOLLOM - GOOGLE NALYTICS - WYSIWYG - VIEWS - CTOOLS - XML SITEMAP - BACKUP/MIGRATE - GLOBAL REDIRECT - PAGE TITLE - SEO CHECKLIST - PATH REDIRECT - GLOBAL REDIRECT - DATE - CUSTOM SEARCH - WEBFORM - DEVEL MODULE CCK and DATE and IMAGE modules are now in core in drupal 7 Any add from you BeeDev?
  11. dianikol85

    Ajax response

    That's what i thought. JSON is to manipulate the returning data. I guess that's its use. It isn't for faster response or something. For example if you return different types of data in a call then use json to manipulate what are you going to do with each type.
  12. dianikol85

    Ajax response

    Hello to all! Just a quick question. Let's say i make an ajax request and it returns a table with some data from a database. My questions is which format is better practice to return this table back? As a json or html? For example take the KS forum. In Recent Topics block after the title of the post you can view with a pop up a preview of the post using ajax. If you open the firebug and view the ajax call it returns the html with tha data. Also the forum every 3-4 minutes also make a ajax call to load new posts Recent Topics block. Again open firebug and see what it returns. This call returns a json object that contains the html. What is the difference between these two ajax responses? Thanks
  13. dianikol85

    Joomla or WordPress?

    Don't say something like that without arguments. Please explain why are you fun with one or another..... It just look stupid that way.... I play a little bit with joomla. It seems more complete CMS out of the box. Wordpress is not. You can't do all kind of sites with WP
  14. dianikol85

    quick site critique

    I view you source code and i notice that you place your css and javascript into the page. This is generally a bad practice for mane reasons. Also try not to use tables for the site template. I believe it is a bad practice for SEO reasons.
  15. dianikol85

    Drupal

    As far i can see Drupal 7 got a lot of improvements about its UI. It has some learning curve but it worth it. You learn its API which is very good documented. Drupal is mor suitable for developers. For that reason it has more sophisticated programming architecture and it is more secure. For example if you use the Form API to create your own custom forms for some module or something ,drupal automatically supplies you with 1. php and javascript validation 2. CSRF 3. clean code and more. I've found some video tutorials at lynda.com and at lullabot.com but they are not for free.
×